summaryrefslogtreecommitdiff
path: root/version
diff options
context:
space:
mode:
Diffstat (limited to 'version')
-rwxr-xr-xversion5
1 files changed, 5 insertions, 0 deletions
diff --git a/version b/version
new file mode 100755
index 00000000..b481c6f4
--- /dev/null
+++ b/version
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cat configure.in | \
+ grep "^AC_INIT" | \
+ sed 's/AC_INIT(\[ledger\],\[\([^]]*\)\],.*/\1/'