Changeset 2638 in ProjectBuilder


Ignore:
Timestamp:
Aug 19, 2020, 2:25:28 AM (4 years ago)
Author:
Bruno Cornec
Message:

Another fix for #187 now tested in a VE

File:
1 edited

Legend:

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

    r2636 r2638  
    388388pb_log(1, "https_proxy=$ENV{'https_proxy'}\n")  if (defined $ENV{'https_proxy'});
    389389
     390my $npkgs = "";
     391foreach my $p (split(/ /,$pkgs)) {
     392    $npkgs .= "'".$p."' "
     393    }
     394
    390395# This may not be // proof. We should test for availability of repo and sleep if not
    391 my $cmd = "$pbos->{'install'} $pkgs";
    392 $cmd = "$pbos->{'localinstall'} $pkgs" if ((defined $local) && (defined $pbos->{'localinstall'}) && ($pbos->{'localinstall'} !~ /[ ]*/));
     396my $cmd = "$pbos->{'install'} $npkgs";
     397$cmd = "$pbos->{'localinstall'} $npkgs" if ((defined $local) && (defined $pbos->{'localinstall'}) && ($pbos->{'localinstall'} !~ /[ ]*/));
    393398my $ret = pb_system($cmd, "Installing packages ($cmd)","mayfail");
    394399# Try to accomodate deficient proxies
Note: See TracChangeset for help on using the changeset viewer.