summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_hosts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_chroot_hosts')
-rwxr-xr-xscripts/build/lb_chroot_hosts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_chroot_hosts b/scripts/build/lb_chroot_hosts
index 1e7a513f7..6cd75508f 100755
--- a/scripts/build/lb_chroot_hosts
+++ b/scripts/build/lb_chroot_hosts
@@ -11,7 +11,7 @@
set -e
# Including common functions
-. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh
+( . "${LIVE_BUILD}/scripts/build.sh" > /dev/null 2>&1 || true ) || . /usr/lib/live/build.sh
# Setting static variables
DESCRIPTION="$(Echo 'manage /etc/hosts')"