From 9ce762a50229bebd07600f1c29167db31f8bfb53 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Jan 2009 17:07:40 +0100 Subject: Using common function file to source shell includes. --- helpers/lh_chroot_sysfs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'helpers/lh_chroot_sysfs') diff --git a/helpers/lh_chroot_sysfs b/helpers/lh_chroot_sysfs index b0dac23df..e9829cb79 100755 --- a/helpers/lh_chroot_sysfs +++ b/helpers/lh_chroot_sysfs @@ -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 'mount /sys')" -- cgit v1.2.3