aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib
diff options
context:
space:
mode:
authorxocel <xocel@iquidus.org>2012-11-01 14:39:41 +1300
committerxocel <xocel@iquidus.org>2012-11-01 14:39:41 +1300
commit203c16aa05c79d3d388f4b291d3ead2968b3a38e (patch)
tree7613ece52c0a2af8dd77a80e36c9005e3e1ecbb1 /SBO-Lib/lib
parentc0c4d9d940dd350e3dae35c281279c7c1e10b7c7 (diff)
downloadsbotools2-203c16aa05c79d3d388f4b291d3ead2968b3a38e.tar.xz
sboupgradex added
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index e90f1e1..7b9dff7 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -578,11 +578,16 @@ sub perform_sbo (%) {
unless ($args{LOCATION} && $args{ARCH}) {
script_error 'perform_sbo requires LOCATION and ARCH.';
}
+
my $location = $args{LOCATION};
my $sbo = get_sbo_from_loc $location;
my ($cmd, %changes);
# set any changes we need to make to the .SlackBuild, setup the command
+
+ $args{JOBS} = 0 if $args{JOBS} eq 'FALSE';
$changes{make} = "-j $args{JOBS}" if $args{JOBS};
+
+
if ($args{ARCH} eq 'x86_64' and ($args{C32} || $args{X32})) {
if ($args{C32}) {
$changes{libdirsuffix} = '';