summaryrefslogtreecommitdiff
path: root/version.pl
diff options
context:
space:
mode:
Diffstat (limited to 'version.pl')
-rwxr-xr-xversion.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/version.pl b/version.pl
index 39d42a03..4440369f 100755
--- a/version.pl
+++ b/version.pl
@@ -5,7 +5,7 @@
use Fcntl;
-($vfile, $vout, $def) = $ARGV[0];
+($vfile, $vout, $def) = @ARGV;
sysopen(VERSION, $vfile, O_RDONLY) or die "$0: Cannot open $vfile\n";
$version = <VERSION>;
chomp $version;