diff --git a/frontend/lb b/frontend/lb index 47193a5f1..855ec3070 100755 --- a/frontend/lb +++ b/frontend/lb @@ -12,7 +12,7 @@ set -e # Including common functions -[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh +[ -n "${LIVE_BUILD}" ] && [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh # Setting static variables DESCRIPTION="Utility to build live systems"