Using global version file rather than using copied information in functions/common.sh.

This commit is contained in:
Daniel Baumann 2011-08-08 21:19:44 +02:00
parent be6a22556b
commit 9a94a6d6d9
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ build:
install:
# Installing shared data
mkdir -p $(DESTDIR)/usr/share/live/build
cp -r cgi data examples functions scripts includes package-lists templates $(DESTDIR)/usr/share/live/build
cp -r cgi data examples functions scripts includes package-lists templates VERSION $(DESTDIR)/usr/share/live/build
cp -r share/* $(DESTDIR)/usr/share/live/build
# Installing executables

View File

@ -1 +1 @@
3.0~a28
3.0~a28-1

View File

@ -9,7 +9,7 @@
PROGRAM="live-build"
VERSION="3.0~a28-1"
VERSION="$(cat ${LB_BASE}VERSION)"
CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')"
PATH="${PWD}/auto/scripts:${PATH}"