Changeset 2638 in ProjectBuilder
- Timestamp:
- Aug 19, 2020, 2:25:28 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r2636 r2638 388 388 pb_log(1, "https_proxy=$ENV{'https_proxy'}\n") if (defined $ENV{'https_proxy'}); 389 389 390 my $npkgs = ""; 391 foreach my $p (split(/ /,$pkgs)) { 392 $npkgs .= "'".$p."' " 393 } 394 390 395 # 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'} !~ /[ ]*/));396 my $cmd = "$pbos->{'install'} $npkgs"; 397 $cmd = "$pbos->{'localinstall'} $npkgs" if ((defined $local) && (defined $pbos->{'localinstall'}) && ($pbos->{'localinstall'} !~ /[ ]*/)); 393 398 my $ret = pb_system($cmd, "Installing packages ($cmd)","mayfail"); 394 399 # Try to accomodate deficient proxies
Note:
See TracChangeset
for help on using the changeset viewer.