diff --git a/functions/common.sh b/functions/common.sh index 2edebc5da..6ca94df55 100755 --- a/functions/common.sh +++ b/functions/common.sh @@ -8,7 +8,8 @@ ## under certain conditions; see COPYING for details. -PROGRAM="live-build" +PROGRAM_NAME="live-build" +PROGRAM="lb" 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 }')" diff --git a/functions/help.sh b/functions/help.sh index 5e0881795..78fa24b60 100755 --- a/functions/help.sh +++ b/functions/help.sh @@ -10,7 +10,7 @@ Help () { - printf "%s - %s\n\n" "${PROGRAM}" "${DESCRIPTION}" + printf "%s - %s\n\n" "${PROGRAM_NAME}" "${DESCRIPTION}" printf "Usage:\n\n" if [ -n "${USAGE}" ] diff --git a/functions/usage.sh b/functions/usage.sh index 038271107..8e970ca44 100755 --- a/functions/usage.sh +++ b/functions/usage.sh @@ -10,7 +10,7 @@ Usage () { - printf "%s - %s\n\n" "${PROGRAM}" "${DESCRIPTION}" + printf "%s - %s\n\n" "${PROGRAM_NAME}" "${DESCRIPTION}" printf "Usage:\n\n" if [ -n "${USAGE}" ]