From: Zac Medico Date: Sun, 25 Nov 2007 09:30:57 +0000 (-0000) Subject: Allow the pkg_info and pkg_config pre/post hooks to run even X-Git-Tag: v2.1.4~214 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d3cbfebadd24a83fca665c3e29211a03c67189a;p=portage.git Allow the pkg_info and pkg_config pre/post hooks to run even when the ebuild function is not defined. (trunk r8659) svn path=/main/branches/2.1.2/; revision=8660 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d7cfe3b9b..6e01ae8d9 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1710,7 +1710,6 @@ if [ -n "${EBUILD_SH_ARGS}" ] ; then if hasq ${EBUILD_SH_ARGS} config info && \ [ "$(type -t pkg_${EBUILD_SH_ARGS})" != "function" ]; then ewarn "pkg_${EBUILD_SH_ARGS}() is not defined: '${EBUILD##*/}'" - exit 0 fi export SANDBOX_ON="0" if [ "${PORTAGE_DEBUG}" != "1" ] || [ "${-/x/}" != "$-" ]; then