diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-22 14:40:20 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:16:26 +0100 |
commit | 5e4952e8a796851369073d47e375e97c072e040f (patch) | |
tree | 102412a488c35606ad867bbfa468d21366078ea6 /helpers/lh | |
parent | af64109b622dd1a33cb9052d33a58557bef44503 (diff) | |
download | live-build-5e4952e8a796851369073d47e375e97c072e040f.zip live-build-5e4952e8a796851369073d47e375e97c072e040f.tar.gz |
Adding debian version 2.0~a1-1.
Diffstat (limited to 'helpers/lh')
-rwxr-xr-x | helpers/lh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |