summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_debianchroot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-01-26 17:07:40 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:40 +0100
commit9ce762a50229bebd07600f1c29167db31f8bfb53 (patch)
tree638905a7598e0e13177696482b87f756764fcbdf /helpers/lh_chroot_debianchroot
parent58d6b235f955c9d8b7f8bd7c03360b712840b269 (diff)
downloadvyos-live-build-9ce762a50229bebd07600f1c29167db31f8bfb53.tar.gz
vyos-live-build-9ce762a50229bebd07600f1c29167db31f8bfb53.zip
Using common function file to source shell includes.
Diffstat (limited to 'helpers/lh_chroot_debianchroot')
-rwxr-xr-xhelpers/lh_chroot_debianchroot7
1 files changed, 1 insertions, 6 deletions
diff --git a/helpers/lh_chroot_debianchroot b/helpers/lh_chroot_debianchroot
index 367c0054e..0af45b543 100755
--- a/helpers/lh_chroot_debianchroot
+++ b/helpers/lh_chroot_debianchroot
@@ -10,12 +10,7 @@
set -e
# Including common functions
-LH_BASE="${LH_BASE:-/usr/share/live-helper}"
-
-for FUNCTION in "${LH_BASE}"/functions/*.sh
-do
- . "${FUNCTION}"
-done
+. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
# Setting static variables
DESCRIPTION="$(Echo 'manage /etc/debian_chroot')"