Changeset 2022 in ProjectBuilder for devel/pb


Ignore:
Timestamp:
Dec 6, 2015, 3:46:51 AM (8 years ago)
Author:
Bruno Cornec
Message:
  • Improve git support where pbconf is upstream in the main directory of a simple project
File:
1 edited

Legend:

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

    r1958 r2022  
    8888my $tmp = $ENV{'PBROOTDIR'};
    8989$tmp =~ s|^$ENV{'PBCONFDIR'}/||;
     90# If no subdir, then replace again
     91$tmp =~ s|^$ENV{'PBCONFDIR'}||;
    9092
    9193#
     
    9496my $turl = "$pburl->{$ENV{'PBPROJ'}}/$tmp";
    9597$turl = $pburl->{$ENV{'PBPROJ'}} if ($scheme =~ /^(flat)|(ftp)|(http)|(file)|(git)\b/o);
    96 # gut svn is like svn
     98# git svn is like svn
    9799$turl = "$pburl->{$ENV{'PBPROJ'}}/$tmp"  if ($scheme =~ /^git\+svn/o);
    98100pb_vcs_compliant(undef,'PBDIR',"$ENV{'PBPROJDIR'}/$tmp",$turl,$pbinit);
Note: See TracChangeset for help on using the changeset viewer.