Changeset 1896 in ProjectBuilder


Ignore:
Timestamp:
Sep 30, 2014, 10:07:58 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Fix PBDIR computation when using git+svn (which is like svn with versions not git flat)
Location:
devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Base.pm

    r1852 r1896  
    530530The command name is passed as first parameter.
    531531The second parameter should be 0 if the command is mandatory, 1 if optional.
     532It returns the full path name of the command if found, undef otherwise and dies if that was a mandatory command
    532533
    533534=cut
  • devel/pb/lib/ProjectBuilder/CMS.pm

    r1866 r1896  
    9494my $turl = "$pburl->{$ENV{'PBPROJ'}}/$tmp";
    9595$turl = $pburl->{$ENV{'PBPROJ'}} if ($scheme =~ /^(flat)|(ftp)|(http)|(file)|(git)\b/o);
     96# gut svn is like svn
     97$turl = "$pburl->{$ENV{'PBPROJ'}}/$tmp"  if ($scheme =~ /^git\+svn/o);
    9698pb_vcs_compliant(undef,'PBDIR',"$ENV{'PBPROJDIR'}/$tmp",$turl,$pbinit);
    9799
Note: See TracChangeset for help on using the changeset viewer.