aboutsummaryrefslogtreecommitdiff
path: root/sboclean
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-08-31 15:53:21 -0500
committerJacob Pipkin <j@dawnrazor.net>2012-08-31 15:53:21 -0500
commitd55dbdf17977ed9b1dfd91c98a4a569960b851cd (patch)
tree8e6a860de9fe0e8f5e52bc71716f6b4d69241c6d /sboclean
parent12a1c8c4530ddb9ab83fec1f9b5bf61a25764e6b (diff)
downloadsbotools2-d55dbdf17977ed9b1dfd91c98a4a569960b851cd.tar.xz
epic changes and fixes and much further testing
Diffstat (limited to 'sboclean')
-rwxr-xr-xsboclean2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboclean b/sboclean
index fd6f5c8..558272b 100755
--- a/sboclean
+++ b/sboclean
@@ -49,7 +49,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) {