Allow the pkg_info and pkg_config pre/post hooks to run even
authorZac Medico <zmedico@gentoo.org>
Sun, 25 Nov 2007 09:30:57 +0000 (09:30 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 25 Nov 2007 09:30:57 +0000 (09:30 -0000)
when the ebuild function is not defined. (trunk r8659)

svn path=/main/branches/2.1.2/; revision=8660

bin/ebuild.sh

index d7cfe3b9bcdf92017942cbf191a944d69ccc46d1..6e01ae8d910a1fffca5c05847375f770a79733c1 100755 (executable)
@@ -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