aboutsummaryrefslogtreecommitdiff
path: root/sboinstall
diff options
context:
space:
mode:
authorJacob Pipkin <d4wnr4z0r@yahoo.com>2012-05-23 18:19:35 -0500
committerJacob Pipkin <d4wnr4z0r@yahoo.com>2012-05-23 18:19:35 -0500
commit2df26c9bfeda31f42ea41650f967cb91ec0dca3b (patch)
treec8d14bd64e08ab2066f6ede49f912e8c55861b41 /sboinstall
parentc0f9ff8ef0306784146733eb6f09012709e6e4df (diff)
downloadsbotools2-2df26c9bfeda31f42ea41650f967cb91ec0dca3b.tar.xz
cleanup
Diffstat (limited to 'sboinstall')
-rwxr-xr-xsboinstall12
1 files changed, 6 insertions, 6 deletions
diff --git a/sboinstall b/sboinstall
index 69bf273..d52dad7 100755
--- a/sboinstall
+++ b/sboinstall
@@ -33,21 +33,21 @@ EOF
}
my %options;
-getopts ('hvcdripj:',\%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) if exists $options{h};
+show_version () and exit (0) if exists $options{v};
show_usage () and exit (0) unless exists $ARGV[0];
-my @opts1 = ('c','d','r','i','p');
+my @opts1 = ('c', 'd', 'r', 'i', 'p');
for my $opt (@opts1) {
- unshift (@ARGV,"-$opt") if exists $options{$opt};
+ unshift (@ARGV, "-$opt") if exists $options{$opt};
}
my @opts2 = ('j');
for my $opt (@opts2) {
- unshift (@ARGV,"-$opt $options{$opt}") if exists $options{$opt};
+ unshift (@ARGV, "-$opt $options{$opt}") if exists $options{$opt};
}
my $string = '';