aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-09-30 21:54:18 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-10-01 09:02:06 +0100
commit785dc034032bfb54aefb8de00fe65b923fe3ba08 (patch)
tree61121d0f0eecbda337b7d7cbe71b0d2dfe471611
parent13343e71d974911400f084d4c73d81076fc046b0 (diff)
downloadpaludis-785dc034032bfb54aefb8de00fe65b923fe3ba08.tar.gz
paludis-785dc034032bfb54aefb8de00fe65b923fe3ba08.tar.xz
Needs moar GLEP 55
-rw-r--r--paludis/repositories/e/ebuild/0/eclass_functions.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/0/eclass_functions.bash b/paludis/repositories/e/ebuild/0/eclass_functions.bash
index d2b744d..3085ab0 100644
--- a/paludis/repositories/e/ebuild/0/eclass_functions.bash
+++ b/paludis/repositories/e/ebuild/0/eclass_functions.bash
@@ -26,7 +26,7 @@ EXPORT_FUNCTIONS()
local e
for e in "$@" ; do
- if [[ "${e}" == builtin_* ]] || ! has "${e}" ${PALUDIS_EBUILD_FUNCTIONS}; then
+ if [[ ${EBUILD_PHASE} != metadata ]] && { [[ "${e}" == builtin_* ]] || ! has "${e}" ${PALUDIS_EBUILD_FUNCTIONS}; }; then
ebuild_notice "qa" "$e should not be in EXPORT_FUNCTIONS for ${ECLASS}"
fi
eval "${e}() { ${ECLASS}_${e} \"\$@\" ; }"