summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-07-24 17:14:07 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:15 +0100
commitc37899f3dc1438efa137ae802ae468c8b19e24de (patch)
tree8a51c7cb097297965c903752121f49b8ab17aac6
parent74c3ad26d5d710282da6f51b746a33ad6370b8ce (diff)
downloadlive-build-c37899f3dc1438efa137ae802ae468c8b19e24de.zip
live-build-c37899f3dc1438efa137ae802ae468c8b19e24de.tar.gz
Using global version file.
-rw-r--r--VERSION1
-rwxr-xr-xmanpages/bin/update-version.sh4
2 files changed, 2 insertions, 3 deletions
diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000..ddd3439
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+2.0~a19-1
diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh
index f1d9ee4..2c51d83 100755
--- a/manpages/bin/update-version.sh
+++ b/manpages/bin/update-version.sh
@@ -2,11 +2,9 @@
set -e
-. ../functions/common.sh
-
DATE="$(LC_ALL=C date +%Y\\\\-%m\\\\-%d)"
PROGRAM="LIVE\\\-HELPER"
-VERSION="${CONFIG_VERSION}"
+VERSION="$(cat ../VERSION)"
echo "Updating version headers..."