Changeset 1176 in ProjectBuilder for devel/pb/lib
- Timestamp:
- Feb 7, 2011, 2:24:11 PM (14 years ago)
- Location:
- devel/pb/lib/ProjectBuilder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/ProjectBuilder/CMS.pm
r1174 r1176 227 227 228 228 # Check whether the file is well formed 229 (containing already a directory with the project-version name)229 # (containing already a directory with the project-version name) 230 230 # 231 231 # If it's not the case, we try to adapt, but distro needing … … 711 711 my $cmsurl = pb_cms_get_uri($scheme,$ENV{$envar}); 712 712 my ($scheme2, $account2, $host2, $port2, $path2) = pb_get_uri($cmsurl); 713 # For svk, scheme doesn't appear in svk info so remove it here in uri coming from conf file 714 # which needs it to trigger correct behaviour 715 $uri =~ s/^svk://; 713 716 if ($cmsurl ne $uri) { 714 717 # The local content doesn't correpond to the repository -
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.