summaryrefslogtreecommitdiff
path: root/bin/live-build
diff options
context:
space:
mode:
Diffstat (limited to 'bin/live-build')
-rwxr-xr-xbin/live-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/live-build b/bin/live-build
index 7a9aedd68..d7eb28f66 100755
--- a/bin/live-build
+++ b/bin/live-build
@@ -23,7 +23,7 @@
set -e
# Including common functions
-. "${LIVE_BUILD}/scripts/build.sh" > /dev/null 2>&1 || . /usr/lib/live/build.sh
+[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
if [ -x "$(which man 2>/dev/null)" ]
then