Changeset 1539 in ProjectBuilder for devel/pb


Ignore:
Timestamp:
May 13, 2012, 12:21:51 PM (12 years ago)
Author:
Bruno Cornec
Message:
  • checking packages is allowed to fail
  • Fix syntax error introduced by a previous patch
  • When using git and pb_vcs_up, for git we need to loop on all the dirs passed (change of interface after Eric's patch)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1537 r1539  
    15901590            $cmd .= " $chkopt" if (defined $chkopt);
    15911591            $cmd .= " $made";
    1592             pb_system("$cmd","Checking validity of rpms with $chkcmd","verbose");
     1592            my $ret = pb_system("$cmd","Checking validity of rpms with $chkcmd","verbose",1);
     1593            pb_log(0,"ERROR: when checking packages validity\n") if ($ret ne 0);
    15931594        }
    15941595        my $rpms ="";
     
    16061607        }
    16071608        if (-x $chkcmd) {
    1608             pb_system("$chkcmd $chkopt $made2","Checking validity of debs with $chkcmd","verbose");
     1609            my $ret = pb_system("$chkcmd $chkopt $made2","Checking validity of debs with $chkcmd","verbose",1);
     1610            pb_log(0,"ERROR: when checking packages validity\n") if ($ret ne 0);
    16091611        }
    16101612        pb_log(0,"deb packages generated: $made2\n");
Note: See TracChangeset for help on using the changeset viewer.