Changeset 1554 in ProjectBuilder for devel/pb/lib
- Timestamp:
- May 21, 2012, 3:19:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/ProjectBuilder/CMS.pm
r1551 r1554 92 92 # 93 93 my $turl = "$pburl->{$ENV{'PBPROJ'}}/$tmp"; 94 $turl = $pburl->{$ENV{'PBPROJ'}} if ( ($scheme =~ /^file/) || ($scheme =~ /^(ht|f)tp/));94 $turl = $pburl->{$ENV{'PBPROJ'}} if ($scheme =~ /^(flat)|(ftp)|(http)|(file)\b/o) { 95 95 pb_cms_compliant(undef,'PBDIR',"$ENV{'PBPROJDIR'}/$tmp",$turl,$pbinit); 96 96 … … 108 108 $ENV{'PBREVISION'}=$tmp; 109 109 $ENV{'PBCMSLOGFILE'}="git.log"; 110 } elsif (($scheme =~ /^ file/) || ($scheme eq "ftp") || ($scheme eq "http")) {110 } elsif (($scheme =~ /^(flat)|(ftp)|(http)|(file)\b/o) { 111 111 $ENV{'PBREVISION'}="flat"; 112 112 $ENV{'PBCMSLOGFILE'}="flat.log"; … … 432 432 close(CL); 433 433 pb_system("$vcscmd log -v $pkgdir > $dest/$ENV{'PBCMSLOGFILE'}","Extracting log info from GIT"); 434 } elsif (($scheme =~ /^ file/) || ($scheme eq "dir") || ($scheme eq "http") || ($scheme eq "ftp")) {434 } elsif (($scheme =~ /^(flat)|(ftp)|(http)|(file)|(dir)\b/o) { 435 435 pb_system("echo ChangeLog for $pkgdir > $dest/ChangeLog","Empty ChangeLog file created"); 436 436 } elsif ($scheme =~ /^cvs/) {
Note:
See TracChangeset
for help on using the changeset viewer.