aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pipkin <d4wnr4z0r@yahoo.com>2012-05-26 10:24:39 -0500
committerJacob Pipkin <d4wnr4z0r@yahoo.com>2012-05-26 10:24:39 -0500
commit0d54187c08404c73f8b9a2d229b7766c7253ab97 (patch)
tree2fc11b76cae92d5323c532a98eb191caa05c5598
parentd40531ccf03b7b711dc1a87a5b89e0fda38fc690 (diff)
downloadsbotools2-0d54187c08404c73f8b9a2d229b7766c7253ab97.tar.xz
allow -j to be set to FALSE
-rwxr-xr-xsboconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboconfig b/sboconfig
index bc496f0..c1d4047 100755
--- a/sboconfig
+++ b/sboconfig
@@ -71,7 +71,7 @@ while (my ($key, $value) = each %valid_confs) {
$changes{$value} = $options{$key} if exists $options{$key};
}
if (exists $changes{JOBS}) {
- unless ($changes{JOBS} =~ /^\d+$/) {
+ unless ($changes{JOBS} =~ /^\d+$/ || $changes{JOBS} eq 'FALSE') {
print "You have provided an invalid parameter for -j\n";
exit 1;
}