From d6e45a34376c9c80d1488ad4f3c9c1f85bedb338 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 27 Aug 2012 15:52:29 +0200 Subject: Making build.sh sourcing more robust (Closes: #684896). --- scripts/build/lb_binary_memtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build/lb_binary_memtest') diff --git a/scripts/build/lb_binary_memtest b/scripts/build/lb_binary_memtest index 1c0683189..d96c778d2 100755 --- a/scripts/build/lb_binary_memtest +++ b/scripts/build/lb_binary_memtest @@ -11,7 +11,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 # Setting static variables DESCRIPTION="$(Echo 'installs a memtest into binary')" -- cgit v1.2.3