Ignore:
Timestamp:
08/31/07 15:27:27 (6 years ago)
Author:
bruno
Message:

pbrc is now global and no hardcoded conf file used anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/common.pm

    r69 r70  
    1313use File::Temp qw /tempdir/; 
    1414use Data::Dumper; 
     15use vars qw (%pbrc); 
    1516 
    1617$ENV{'PBETC'} = "$ENV{'HOME'}/.pbrc"; 
     
    3738# and use its content 
    3839# 
    39 $pbrc = pb_init("$ENV{'PBETC'}","pbrc"); 
     40my $pbrc = pb_init("$ENV{'PBETC'}","pbrc"); 
    4041 
    41 my %pbrc = %$pbrc; 
     42%pbrc = %$pbrc; 
    4243if (not defined $proj) { 
    4344    # Take the first as the default project 
Note: See TracChangeset for help on using the changeset viewer.