diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-24 22:25:45 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-24 22:25:45 +0000 |
commit | 8415bbc1e05e67f03ae9fa8155a2a7a0142ad136 (patch) | |
tree | fd2443e7fb851c6845ee19fde86b87d3622e1fd4 | |
parent | f59eb56cbd71337021bbd4e53d457c5cf14c1e8c (diff) | |
download | portage-8415bbc1e05e67f03ae9fa8155a2a7a0142ad136.tar.gz portage-8415bbc1e05e67f03ae9fa8155a2a7a0142ad136.tar.bz2 portage-8415bbc1e05e67f03ae9fa8155a2a7a0142ad136.zip |
Bug #200238 - Make ebuild.sh properly bail out when the pkg_info()
function doesn't exist.
svn path=/main/trunk/; revision=8647
-rwxr-xr-x | bin/ebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d5b770dd8..bd01b4750 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1733,7 +1733,7 @@ if [ -n "${EBUILD_SH_ARGS}" ] ; then if [ "${EBUILD_SH_ARGS}" == "info" ] && \ [ "$(type -t pkg_${EBUILD_SH_ARGS})" != "function" ]; then ewarn "pkg_${EBUILD_SH_ARGS}() is not defined: '${EBUILD##*/}'" - continue + exit 0 fi export SANDBOX_ON="0" if [ "${PORTAGE_DEBUG}" != "1" ] || [ "${-/x/}" != "$-" ]; then |