From c37899f3dc1438efa137ae802ae468c8b19e24de Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 24 Jul 2010 17:14:07 +0200 Subject: 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 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..." -- cgit v1.0