diff options
author | Daniel Baumann <daniel@debian.org> | 2007-12-22 09:36:54 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:29 +0100 |
commit | 3818b02197b2b4dc0a2d3845b5b038bf9075b6a2 (patch) | |
tree | 3341040032df3232b2b967d26ce4115ae3079759 | |
parent | ac8753ea3fb84302afb86a5ef91c37dd19d3b253 (diff) | |
download | live-build-3818b02197b2b4dc0a2d3845b5b038bf9075b6a2.zip live-build-3818b02197b2b4dc0a2d3845b5b038bf9075b6a2.tar.gz |
Addjusting lh helper to be called from lh_local.
-rwxr-xr-x | helpers/lh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -x # live-helper(1) - utility to build Debian Live systems # Copyright (C) 2006-2007 Daniel Baumann <daniel@debian.org> @@ -49,9 +49,9 @@ case "${1}" in ;; *) - if [ -x /usr/bin/lh_"${1}" ] + if [ ! -z "$(whereis lh_${1})" ] then - exec /usr/bin/lh_"${1}" $(echo ${@} | sed -e "s/${1}//") + exec lh_"${1}" $(echo ${@} | sed -e "s/${1}//") else Echo_error "no such helper" exit 1 |