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-modules/lib/ProjectBuilder/Distribution.pm

    r1530 r1539  
    335335# This may not be // proof. We should test for availability of repo and sleep if not
    336336my $cmd = "$pbos->{'install'} $deps";
    337 my $ret = pb_system($cmd, "Installing dependencies ($cmd)", undef, 1);
     337my $ret = pb_system($cmd, "Installing dependencies ($cmd)",undef,1);
    338338# Try to accomodate deficient proxies
    339339if ($ret != 0) {
     
    445445    next if $p =~ /^\s*$/o;
    446446    if ($pbos->{'type'} eq  "rpm") {
    447         my $res = pb_system("rpm -q --whatprovides --quiet $p","","quiet", 1);
     447        my $res = pb_system("rpm -q --whatprovides --quiet $p","","quiet",1);
    448448        next if ($res eq 0);
    449449        pb_log(1, "INFO: missing dependency $p\n");
    450450    } elsif ($pbos->{'type'} eq "deb") {
    451         my $res = pb_system("dpkg -L $p","","quiet", 1);
     451        my $res = pb_system("dpkg -L $p","","quiet",1);
    452452        next if ($res eq 0);
    453453        open(CMD,"dpkg -l $p |") or die "Unable to run dpkg -l $p: $!";
Note: See TracChangeset for help on using the changeset viewer.