From 7fdbb8ef5c7220d2add324900c7183e4446d6182 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 24 Jul 2010 17:14:07 +0200 Subject: [PATCH] Using global version file. --- VERSION | 1 + manpages/bin/update-version.sh | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 VERSION diff --git a/VERSION b/VERSION new file mode 100644 index 000000000..ddd3439fd --- /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 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..."