sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 84024a825a143ca291177b1b14bdacc15e45fe7c
parent aea980bca8b8bbf847d62a29f923902f51dd4160
Author: J Pipkin <j@dawnrazor.net>
Date:   Sun,  9 Sep 2012 03:17:18 -0500

fix bug from Getopt conversion where sboupgrade was getting -j setting with an initial space

Diffstat:
Msboupgrade | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sboupgrade b/sboupgrade @@ -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;