aboutsummaryrefslogtreecommitdiff
path: root/sboinstall
diff options
context:
space:
mode:
Diffstat (limited to 'sboinstall')
-rwxr-xr-xsboinstall9
1 files changed, 7 insertions, 2 deletions
diff --git a/sboinstall b/sboinstall
index 0f9566d..db65863 100755
--- a/sboinstall
+++ b/sboinstall
@@ -40,11 +40,16 @@ 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','j');
-for my $opt (@opts) {
+my @opts1 = ('c','d','r','i','p');
+for my $opt (@opts1) {
unshift (@ARGV,"-$opt") if exists $options{$opt};
}
+my @opts2 = ('j');
+for my $opt (@opts2) {
+ unshift (@ARGV,"-$opt $options{$opt}") if exists $options{$opt};
+}
+
my $string = '';
for my $arg (@ARGV) {
$string .= " $arg";