summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_resolv
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-19 19:37:26 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-19 21:11:59 +0200
commit8473b925fd94fdb7bb1ae6309a4ab58d490382c9 (patch)
tree94b76a6288395e37619b900f3eea2009a25d9b28 /scripts/build/lb_chroot_resolv
parent6c0ddb7d6d72d15ab2887a4b40de2c5d71f26d3a (diff)
downloadvyos-live-build-8473b925fd94fdb7bb1ae6309a4ab58d490382c9.tar.gz
vyos-live-build-8473b925fd94fdb7bb1ae6309a4ab58d490382c9.zip
Fixing up inclusion of functions while allowing local usage of live-build with different file layouts.
Diffstat (limited to 'scripts/build/lb_chroot_resolv')
-rwxr-xr-xscripts/build/lb_chroot_resolv2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_chroot_resolv b/scripts/build/lb_chroot_resolv
index c2f4b3748..0ace6ed35 100755
--- a/scripts/build/lb_chroot_resolv
+++ b/scripts/build/lb_chroot_resolv
@@ -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/resolv.conf')"