diff options
Diffstat (limited to 'bin/ebuild-helpers')
-rwxr-xr-x | bin/ebuild-helpers/4/dodoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild-helpers/4/dodoc b/bin/ebuild-helpers/4/dodoc index 66a1f088b..617bae297 100755 --- a/bin/ebuild-helpers/4/dodoc +++ b/bin/ebuild-helpers/4/dodoc @@ -35,7 +35,7 @@ for x in "$@" ; do find "${x}" -mindepth 1 -maxdepth 1 -exec \ env \ _E_DOCDESTTREE_="$(basename "${x}")" \ - ${0} -r {} \; + "${0}" -r {} \; elif [ -s "${x}" ] ; then install -m0644 "${x}" "${dir}" || ((ret|=1)) @@ -46,5 +46,5 @@ for x in "$@" ; do done -[[ $ret -ne 0 ]] && die "$0 failed" +[[ $ret -ne 0 ]] && die "${0##*/} failed" exit ${ret} |