summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2013-03-14 16:12:30 (GMT)
committerChristian Pointner <equinox@helsinki.at>2013-03-14 16:12:30 (GMT)
commit178a9fbb4f2f1dcd1ac4a29030e7194a9920b3da (patch)
tree61dd2606637052b52e1c30104f95d26492665b9a
parenta53116b1a9632c14918e9c6538929c14b7e29dda (diff)
fixed fetch-files-cba (argument parsing)
-rwxr-xr-xfetch-files-cba.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-files-cba.pl b/fetch-files-cba.pl
index ddfdc18..ccb7d7e 100755
--- a/fetch-files-cba.pl
+++ b/fetch-files-cba.pl
@@ -39,7 +39,7 @@ binmode(STDIN, ":utf8");
binmode(STDOUT, ":utf8");
binmode(STDERR, ":utf8");
-if($#ARGV == 0) {
+if(@ARGV == 0) {
print "You have to supply a Series ID\n";
exit 1;
}