Changeset 13 in ProjectBuilder for devel/pb/lib/common.pm
- Timestamp:
- Jul 30, 2007, 1:32:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/common.pm
r11 r13 18 18 use Data::Dumper; 19 19 20 $ENV{'PB CONF'} = "/etc/pb";20 $ENV{'PBETC'} = "/etc/pb"; 21 21 22 22 sub env_init { … … 38 38 # Use project configuration file 39 39 # 40 pb_init("$ENV{'PB CONF'}/$proj.pb");40 pb_init("$ENV{'PBETC'}/$proj.pb"); 41 41 42 42 # 43 43 # Check content 44 44 # 45 die "PBROOT doesn't exist in $ENV{'PB CONF'}/$proj.pb" if (not (defined $ENV{'PBROOT'}));46 die "defpkgdir doesn't exist in $ENV{'PB CONF'}/$proj.pb" if (not (defined %defpkgdir));45 die "PBROOT doesn't exist in $ENV{'PBETC'}/$proj.pb" if (not (defined $ENV{'PBROOT'})); 46 die "defpkgdir doesn't exist in $ENV{'PBETC'}/$proj.pb" if (not (defined %defpkgdir)); 47 47 48 48 #
Note:
See TracChangeset
for help on using the changeset viewer.