summaryrefslogtreecommitdiff
path: root/helpers/lh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-02-05 17:10:44 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:04 +0100
commit3b80c5c5d9c9d2eec91910b70a120da5943c7fac (patch)
tree31b5fef2977e7fabe669077041c569169c788a95 /helpers/lh
parent59e9a93ad08c171fb0d22e965c56f91c5bd17615 (diff)
downloadlive-build-3b80c5c5d9c9d2eec91910b70a120da5943c7fac.zip
live-build-3b80c5c5d9c9d2eec91910b70a120da5943c7fac.tar.gz
Dropping lh_ prefix from internal helpers, this is not user visible.
Diffstat (limited to 'helpers/lh')
-rwxr-xr-xhelpers/lh12
1 files changed, 6 insertions, 6 deletions
diff --git a/helpers/lh b/helpers/lh
index c22f554..8ab9de2 100755
--- a/helpers/lh
+++ b/helpers/lh
@@ -34,15 +34,15 @@ case "${1}" in
COMMAND="${1}"
shift
- if [ -x "${LH_BASE}/helpers/lh_${COMMAND}" ]
+ if [ -x "${LH_BASE}/helpers/${COMMAND}" ]
then
- LH=1 exec "${LH_BASE}/helpers/lh_${COMMAND}" "${@}"
- elif [ -x /usr/share/live-helper/helpers/lh_${COMMAND} ]
+ LH=1 exec "${LH_BASE}/helpers/${COMMAND}" "${@}"
+ elif [ -x /usr/share/live-helper/helpers/${COMMAND} ]
then
- LH=1 exec /usr/share/live-helper/helpers/lh_"${COMMAND}" "${@}"
- elif [ -x "$(which lh_${COMMAND} 2>/dev/null)" ]
+ LH=1 exec /usr/share/live-helper/helpers/"${COMMAND}" "${@}"
+ elif [ -x "$(which ${COMMAND} 2>/dev/null)" ]
then
- LH=1 exec lh_"${COMMAND}" "${@}"
+ LH=1 exec "${COMMAND}" "${@}"
else
Echo_error "no such helper"
exit 1