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_binary_memtest | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'helpers/lh_binary_memtest') diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest index cbabf040d..0b7ee09b6 100755 --- a/helpers/lh_binary_memtest +++ b/helpers/lh_binary_memtest @@ -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 'installs a memtest into binary')" -- cgit v1.2.3