From 8415bbc1e05e67f03ae9fa8155a2a7a0142ad136 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 24 Nov 2007 22:25:45 +0000 Subject: Bug #200238 - Make ebuild.sh properly bail out when the pkg_info() function doesn't exist. svn path=/main/trunk/; revision=8647 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild.sh') 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 -- cgit v1.2.3-1-g7c22