Changeset 1176 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Env.pm
- Timestamp:
- Feb 7, 2011, 2:24:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/ProjectBuilder/Env.pm
r1156 r1176 95 95 # where to find Build System infos: 96 96 #vmpath default = /home/qemu 97 #vepath default = /home/rinse 97 #vepath default = /home/rpmbootstrap 98 #rmpath default = /home/remote 98 99 99 100 # Overwrite generic setup … … 168 169 # Adds a potential conf file now as it's less 169 170 # important than the project conf file 170 my ($vmpath,$vepath ) = pb_conf_get_if("vmpath","vepath");171 my ($vmpath,$vepath,$rmpath) = pb_conf_get_if("vmpath","vepath","rmpath"); 171 172 pb_conf_add("$vmpath->{$ENV{'PBPROJ'}}/.pbrc") if ((defined $vmpath) && (-f "$vmpath->{$ENV{'PBPROJ'}}/.pbrc")); 172 173 pb_conf_add("$vepath->{$ENV{'PBPROJ'}}/.pbrc") if ((defined $vepath) && (-f "$vepath->{$ENV{'PBPROJ'}}/.pbrc")); 174 pb_conf_add("$rmpath->{$ENV{'PBPROJ'}}/.pbrc") if ((defined $rmpath) && (-f "$rmpath->{$ENV{'PBPROJ'}}/.pbrc")); 173 175 174 176 # … … 282 284 pb_log(2,"PBBUILDDIR: $ENV{'PBBUILDDIR'}\n"); 283 285 284 # 285 # The following part is only useful when in cms2something or newsomething 286 # In VMs/VEs we want to skip that by providing good env vars. 286 return if ($action =~ /^clean$/); 287 # 288 # The following part is only useful when in sbx|cms2something or newsomething 289 # In VMs/VEs/RMs we want to skip that by providing good env vars. 287 290 # return values in that case are useless 288 291 # 289 return if ($action =~ /^clean$/);290 292 291 293 if (($action =~ /^cms2/) || ($action =~ /^sbx2/) || ($action =~ /^newver$/) || ($action =~ /pbinit/) || ($action =~ /^newproj$/) || ($action =~ /^announce/)) {
Note:
See TracChangeset
for help on using the changeset viewer.