diff options
author | Jacob Pipkin <d4wnr4z0r@yahoo.com> | 2012-05-13 00:48:40 -0500 |
---|---|---|
committer | Jacob Pipkin <d4wnr4z0r@yahoo.com> | 2012-05-13 00:48:40 -0500 |
commit | bb81be942e63e4d60be284ec0af4867d9663933a (patch) | |
tree | 46c2df1d03d567b764efcd6a1d92fcad98206328 /sboinstall | |
parent | cc77365244ce23879e235f8dc11c6f58b52b93c8 (diff) | |
download | sbotools2-bb81be942e63e4d60be284ec0af4867d9663933a.tar.xz |
added stuff to support -j option to make, not tested yet.
Diffstat (limited to 'sboinstall')
-rwxr-xr-x | sboinstall | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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}; } |