summaryrefslogtreecommitdiff
path: root/functions/common.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-08-08 21:19:44 +0200
committerDaniel Baumann <daniel@debian.org>2011-08-08 21:19:44 +0200
commit9a94a6d6d99eb0bb9c32b0ec2fb22932442f66d4 (patch)
treed137cc56c1313985692d783b00dd05419d635da3 /functions/common.sh
parentbe6a22556b1410ef50f7abe472ad68b7f10635a8 (diff)
downloadvyos-live-build-9a94a6d6d99eb0bb9c32b0ec2fb22932442f66d4.tar.gz
vyos-live-build-9a94a6d6d99eb0bb9c32b0ec2fb22932442f66d4.zip
Using global version file rather than using copied information in functions/common.sh.
Diffstat (limited to 'functions/common.sh')
-rwxr-xr-xfunctions/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/common.sh b/functions/common.sh
index b410cfcd5..327020abc 100755
--- a/functions/common.sh
+++ b/functions/common.sh
@@ -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}"