summaryrefslogtreecommitdiff
path: root/version.pl
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-05 01:04:47 +0000
committerhpa <hpa>2005-01-05 01:04:47 +0000
commitec013c7934485ee3b195ea99f03590a47b8cb0d7 (patch)
tree1763a1a0c7b80f78429fff5e2ed100ce67a8cd81 /version.pl
parent80717f76b561e490cf862c87be2e3ef1e5596b37 (diff)
downloadsyslinux-ec013c7934485ee3b195ea99f03590a47b8cb0d7.tar.gz
Clean up extlinux compilation issues
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;