aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-09-21 05:40:57 -0500
committerJacob Pipkin <j@dawnrazor.net>2012-09-21 05:40:57 -0500
commit70b7b343206446fa248f2f33614afe7968536085 (patch)
tree6e23acf055f6a0b93a2c1329558048ad12c69de3
parent6453df90bdb386b36a6bc9db8d5033c5b8ea7639 (diff)
downloadsbotools2-70b7b343206446fa248f2f33614afe7968536085.tar.xz
fix some quoting inconsistencies
-rwxr-xr-xsboclean4
1 files changed, 2 insertions, 2 deletions
diff --git a/sboclean b/sboclean
index f98e61f..60d114c 100755
--- a/sboclean
+++ b/sboclean
@@ -57,7 +57,7 @@ unless ($clean_dist || $clean_work) {
sub remove_stuff ($) {
exists $_[0] or script_error 'remove_stuff requires an argument';
- -d $_[0] or say "Nothing to do." and return 1;
+ -d $_[0] or say 'Nothing to do.' and return 1;
my $dir = shift;
opendir (my $dh, $dir);
FIRST: while (my $ls = readdir $dh) {
@@ -72,7 +72,7 @@ sub remove_stuff ($) {
}
}
-remove_stuff $config{SBO_HOME} . '/distfiles' if $clean_dist;
+remove_stuff $config{SBO_HOME} .'/distfiles' if $clean_dist;
remove_stuff '/tmp/SBo' if $clean_work;
exit 0;