projects
/
chksht.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04dd40d
)
Better arg checking for runchecks
author
Chip Black
<bytex64@bytex64.net>
Mon, 18 Aug 2008 07:12:39 +0000
(
02:12
-0500)
committer
Chip Black
<bytex64@bytex64.net>
Mon, 18 Aug 2008 07:12:39 +0000
(
02:12
-0500)
runchecks
patch
|
blob
|
history
diff --git
a/runchecks
b/runchecks
index
3467c28
..
535fa68
100755
(executable)
--- a/
runchecks
+++ b/
runchecks
@@
-2,6
+2,10
@@
use strict;
my $dir = shift;
+unless ($dir) {
+ print "No directory specified\n";
+ exit 1;
+}
unless (-d $dir) {
print "$dir is not a directory\n";
exit 1;