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>2010-07-24 17:14:07 +0200
commit7fdbb8ef5c7220d2add324900c7183e4446d6182 (patch)
tree8a51c7cb097297965c903752121f49b8ab17aac6 /manpages
parentd039300d825867e656bab8700b1f4cbace20a74b (diff)
downloadvyos-live-build-7fdbb8ef5c7220d2add324900c7183e4446d6182.tar.gz
vyos-live-build-7fdbb8ef5c7220d2add324900c7183e4446d6182.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..."