summaryrefslogtreecommitdiff
path: root/helpers/lh
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh')
-rwxr-xr-xhelpers/lh7
1 files changed, 5 insertions, 2 deletions
diff --git a/helpers/lh b/helpers/lh
index bb4d76b1f..ecf9b4ad5 100755
--- a/helpers/lh
+++ b/helpers/lh
@@ -10,7 +10,7 @@
set -e
# Including common functions
-. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
+. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
# Setting static variables
DESCRIPTION="$(Echo 'utility to build Debian Live systems')"
@@ -34,7 +34,10 @@ case "${1}" in
COMMAND="${1}"
shift
- if [ -x "$(which lh_${COMMAND} 2>/dev/null)" ]
+ if [ -x /usr/share/live-helper/helpers/lh_${COMMAND} ]
+ then
+ LH=1 exec /usr/share/live-helper/helpers/lh_"${COMMAND}" "${@}"
+ elif [ -x "$(which lh_${COMMAND} 2>/dev/null)" ]
then
LH=1 exec lh_"${COMMAND}" "${@}"
else