summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-24 22:26:41 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-24 22:26:41 +0000
commit37169b5033f66181850e0681703b388b037e90a2 (patch)
tree15214daf541c55db8095512549fc235715a79a55 /bin/ebuild.sh
parent4326c7eafc62817964f193c58fdc95c1e1273642 (diff)
downloadportage-37169b5033f66181850e0681703b388b037e90a2.tar.gz
portage-37169b5033f66181850e0681703b388b037e90a2.tar.bz2
portage-37169b5033f66181850e0681703b388b037e90a2.zip
Bug #200238 - Make ebuild.sh properly bail out when the pkg_info()
function doesn't exist. (trunk r8647) svn path=/main/branches/2.1.2/; revision=8648
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
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