Changeset 1185 in ProjectBuilder for devel/pb/lib/ProjectBuilder/CMS.pm


Ignore:
Timestamp:
Feb 14, 2011, 1:13:31 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Fix pb for patches and additional sources support in parallel mode which was previously broken
File:
1 edited

Legend:

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

    r1176 r1185  
    232232    # to verify the checksum will have issues (Fedora)
    233233    # Then upstream should be notified that they need to change their rules
     234    # This doesn't apply to patches or additional sources of course.
    234235    my ($pbwf) = pb_conf_get_if("pbwf");
    235     if ((defined $pbwf) && (defined $pbwf->{$ENV{'PBPROJ'}})) {
     236    if ((defined $pbwf) && (defined $pbwf->{$ENV{'PBPROJ'}}) && ($path !~ /\/pbpatch\//) && ($path !~ /\/pbsrc\//)) {
    236237        $destdir = dirname($destdir);
    237238        pb_log(2,"This is a well-formed file so destdir is now $destdir\n");
Note: See TracChangeset for help on using the changeset viewer.