diff options
author | J Pipkin <j@dawnrazor.net> | 2012-09-09 03:17:18 -0500 |
---|---|---|
committer | J Pipkin <j@dawnrazor.net> | 2012-09-09 03:17:18 -0500 |
commit | 84024a825a143ca291177b1b14bdacc15e45fe7c (patch) | |
tree | 5fb3afe6b1e8f79017b7dbb2a53ca3dc33d8b1dc | |
parent | aea980bca8b8bbf847d62a29f923902f51dd4160 (diff) | |
download | sbotools2-84024a825a143ca291177b1b14bdacc15e45fe7c.tar.xz |
fix bug from Getopt conversion where sboupgrade was getting -j setting with an initial space
-rwxr-xr-x | sboupgrade | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -190,7 +190,7 @@ sub ask_requires (%) { push @cmd_args, '-p' if $compat32; push @cmd_args, '-f' if $force; push @cmd_args, '-r' if $force_reqs; - push @cmd_args, "-j $jobs" if $jobs; + push @cmd_args, "-j$jobs" if $jobs; system (@cmd_args, $req) == 0 or die "$name failed to install.\n"; } } @@ -404,7 +404,7 @@ FIRST: for my $sbo (@ARGV) { # populate args so that they carry over correctly push @args, $clean ? '-c' : '--noclean'; push @args, $distclean ? '-d' : '--nodistclean'; - push @args, "-j $jobs" if $jobs; + push @args, "-j$jobs" if $jobs; system (@args, $sbo) == 0 or die "$sbo failed to install.\n"; } else { warn "Please install $sbo\n" and exit 0; |