diff options
Diffstat (limited to 'functions/common.sh')
-rwxr-xr-x | functions/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/common.sh b/functions/common.sh index 538d180b0..19c3bc052 100755 --- a/functions/common.sh +++ b/functions/common.sh @@ -9,7 +9,7 @@ PROGRAM="live-build" -VERSION="$(cat ${LB_BASE}/VERSION)" +VERSION="$(if [ -e ${LIVE_BUILD}/VERSION ]; then cat ${LIVE_BUILD}/VERSION; else cat /usr/share/live/build/VERSION; fi)" CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')" PATH="${PWD}/local/scripts:${PATH}" |