aboutsummaryrefslogtreecommitdiff
path: root/d2iver.pl
diff options
context:
space:
mode:
Diffstat (limited to 'd2iver.pl')
-rw-r--r--d2iver.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/d2iver.pl b/d2iver.pl
new file mode 100644
index 0000000..b6cc951
--- /dev/null
+++ b/d2iver.pl
@@ -0,0 +1,4 @@
+#!/usr/bin/perl -w -i -p
+
+BEGIN { chomp($v=`cat VERSION`) }
+/^VERSION=/ && s,=.*,=$v,;