summaryrefslogtreecommitdiff
path: root/functions/common.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-09-11 11:50:08 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:47 +0100
commite0209bb3375f57c39271b99df6c7b6091fdb8376 (patch)
tree53f9adf9b6aa15313b90fc728bdd8afbc22efcad /functions/common.sh
parent4df03e20127563d9534928445b8e8af0e066fa92 (diff)
downloadvyos-live-build-e0209bb3375f57c39271b99df6c7b6091fdb8376.tar.gz
vyos-live-build-e0209bb3375f57c39271b99df6c7b6091fdb8376.zip
Automatically optaining version number for config tree format.
Diffstat (limited to 'functions/common.sh')
-rwxr-xr-xfunctions/common.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/common.sh b/functions/common.sh
index e9c45d44d..7e9e121d4 100755
--- a/functions/common.sh
+++ b/functions/common.sh
@@ -10,5 +10,6 @@
PROGRAM="$(basename ${0})"
PACKAGE="live-helper"
VERSION="1.0.5-2"
+CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')"
PATH="${PWD}/scripts:${PATH}"