aboutsummaryrefslogtreecommitdiff
path: root/sboupgrade
diff options
context:
space:
mode:
authorJacob Pipkin <d4wnr4z0r@yahoo.com>2012-05-13 00:48:40 -0500
committerJacob Pipkin <d4wnr4z0r@yahoo.com>2012-05-13 00:48:40 -0500
commitbb81be942e63e4d60be284ec0af4867d9663933a (patch)
tree46c2df1d03d567b764efcd6a1d92fcad98206328 /sboupgrade
parentcc77365244ce23879e235f8dc11c6f58b52b93c8 (diff)
downloadsbotools2-bb81be942e63e4d60be284ec0af4867d9663933a.tar.xz
added stuff to support -j option to make, not tested yet.
Diffstat (limited to 'sboupgrade')
-rwxr-xr-xsboupgrade5
1 files changed, 2 insertions, 3 deletions
diff --git a/sboupgrade b/sboupgrade
index b128019..a6a29d2 100755
--- a/sboupgrade
+++ b/sboupgrade
@@ -29,6 +29,7 @@ Options:
-d: clean distfiles afterward.
-f: force an update, even if the "upgrade" version is the same or lower.
-i: do not run installpkg at the end of the build process.
+ -j: specify "-j" setting to make, for SMP systems; overrides conf file.
-N: install any new SBo's listed.
-r: skip viewing of the SBo README.
@@ -37,7 +38,6 @@ Example:
$self -ca
EOF
-# -j: specify "-j" setting to make, for SMP systems; overrides conf file.
}
my %options;
@@ -49,8 +49,7 @@ show_version () && exit (0) if exists $options{v};
my $noclean = exists $options{c} ? 'FALSE' : $config{NOCLEAN};
my $distclean = exists $options{d} ? 'TRUE' : $config{DISTCLEAN};
my $force = exists $options{f} ? 'TRUE' : 'FALSE';
-#my $jobs = exists $options{j} ? $options{j} : $config{JOBS};
-my $jobs = 'FALSE';
+my $jobs = exists $options{j} ? $options{j} : $config{JOBS};
my $install_new = exists $options{N} ? 'TRUE' : 'FALSE';
my $no_readme = exists $options{r} ? 'TRUE' : 'FALSE';
my $no_install = exists $options{i} ? 'TRUE' : 'FALSE';