aboutsummaryrefslogtreecommitdiff
path: root/sboinstall
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 /sboinstall
parentcc77365244ce23879e235f8dc11c6f58b52b93c8 (diff)
downloadsbotools2-bb81be942e63e4d60be284ec0af4867d9663933a.tar.xz
added stuff to support -j option to make, not tested yet.
Diffstat (limited to 'sboinstall')
-rwxr-xr-xsboinstall5
1 files changed, 3 insertions, 2 deletions
diff --git a/sboinstall b/sboinstall
index 78d0982..0f9566d 100755
--- a/sboinstall
+++ b/sboinstall
@@ -25,6 +25,7 @@ Options:
-c: do not clean working files/directories after the build.
-d: clean distfiles afterward.
-i: do not run installpkg at the end of the build process.
+ -j: specify "-j" setting to make, for SMP systems; overrides conf file.
-p: install an SBo as a -compat32 pkg on a multilib x86_64 system.
-r: skip viewing of the SBo README.
@@ -32,14 +33,14 @@ EOF
}
my %options;
-getopts ('hvcdrip',\%options);
+getopts ('hvcdripj:',\%options);
show_usage () and exit(0) if exists $options{h};
show_version () and exit(0) if exists $options{v};
show_usage () and exit (0) unless exists $ARGV[0];
-my @opts = ('c','d','r','i','p');
+my @opts = ('c','d','r','i','p','j');
for my $opt (@opts) {
unshift (@ARGV,"-$opt") if exists $options{$opt};
}