Using global version file rather than using copied information in functions/common.sh.
This commit is contained in:
parent
be6a22556b
commit
9a94a6d6d9
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue