Changeset 1554 in ProjectBuilder for devel/pb/lib


Ignore:
Timestamp:
May 21, 2012, 3:19:04 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • pb: Update documentation, the newproj docs were missing an important argument. Expanded out the newproj documentation. Fixed the cms2build documentation to match the same style as the other documentation. (Eric Anderson)
  • CMS.pm/VCS.pm: Tolerate the file: scheme -- it was tolerated in some places but not others. (Eric Anderson)
File:
1 edited

Legend:

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

    r1551 r1554  
    9292#
    9393my $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) {
    9595pb_cms_compliant(undef,'PBDIR',"$ENV{'PBPROJDIR'}/$tmp",$turl,$pbinit);
    9696
     
    108108    $ENV{'PBREVISION'}=$tmp;
    109109    $ENV{'PBCMSLOGFILE'}="git.log";
    110 } elsif (($scheme =~ /^file/) || ($scheme eq "ftp") || ($scheme eq "http")) {
     110} elsif (($scheme =~ /^(flat)|(ftp)|(http)|(file)\b/o) {
    111111    $ENV{'PBREVISION'}="flat";
    112112    $ENV{'PBCMSLOGFILE'}="flat.log";
     
    432432        close(CL);
    433433        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) {
    435435        pb_system("echo ChangeLog for $pkgdir > $dest/ChangeLog","Empty ChangeLog file created");
    436436    } elsif ($scheme =~ /^cvs/) {
Note: See TracChangeset for help on using the changeset viewer.