summaryrefslogtreecommitdiff
path: root/manpages
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 /manpages
parent74c3ad26d5d710282da6f51b746a33ad6370b8ce (diff)
downloadvyos-live-build-c37899f3dc1438efa137ae802ae468c8b19e24de.tar.gz
vyos-live-build-c37899f3dc1438efa137ae802ae468c8b19e24de.zip
Using global version file.
Diffstat (limited to 'manpages')
-rwxr-xr-xmanpages/bin/update-version.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh
index f1d9ee4c9..2c51d834a 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..."