diff options
Diffstat (limited to 'bin/ebuild-helpers/dohtml')
-rwxr-xr-x | bin/ebuild-helpers/dohtml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/ebuild-helpers/dohtml b/bin/ebuild-helpers/dohtml index b6373a36c..55339238e 100755 --- a/bin/ebuild-helpers/dohtml +++ b/bin/ebuild-helpers/dohtml @@ -5,22 +5,22 @@ source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 if ! ___eapi_has_dohtml; then - die "'${0##*/}' has been banned for EAPI '$EAPI'" + die "'${0##*/}' has been banned for EAPI '${EAPI}'" exit 1 fi if ___eapi_has_dohtml_deprecated; then - eqawarn "'${0##*/}' is deprecated in EAPI '$EAPI'" + eqawarn "'${0##*/}' is deprecated in EAPI '${EAPI}'" fi # Use safe cwd, avoiding unsafe import for bug #469338. export __PORTAGE_HELPER_CWD=${PWD} cd "${PORTAGE_PYM_PATH}" || die PYTHONPATH=${PORTAGE_PYTHONPATH:-${PORTAGE_PYM_PATH}} \ - "${PORTAGE_PYTHON:-/usr/bin/python}" "$PORTAGE_BIN_PATH/dohtml.py" "$@" + "${PORTAGE_PYTHON:-/usr/bin/python}" "${PORTAGE_BIN_PATH}/dohtml.py" "$@" ret=$? # Restore cwd for display by __helpers_die cd "${__PORTAGE_HELPER_CWD}" -[[ $ret -ne 0 ]] && __helpers_die "${0##*/} failed" -exit $ret +[[ ${ret} -ne 0 ]] && __helpers_die "${0##*/} failed" +exit ${ret} |