silence false positive
authorFabian Groffen <grobian@gentoo.org>
Thu, 12 Mar 2009 21:08:18 +0000 (21:08 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 12 Mar 2009 21:08:18 +0000 (21:08 -0000)
svn path=/main/branches/prefix/; revision=13103

bin/ebuild.sh

index 790b24571af07515e5cbdd14a94db5a1e27701b9..e3a7d18e4616cd73356b2498cb8b3d0a911e9c25 100755 (executable)
@@ -463,7 +463,8 @@ econf() {
 
        local phase_func=$(_ebuild_arg_to_phase "$EAPI" "$EBUILD_PHASE")
        if [[ -n $phase_func ]] ; then
-               if hasq "$EAPI" 0 1 ; then
+               local eapi=${EAPI/prefix/} ; eapi=${eapi# }
+               if hasq "$eapi" 0 1 ; then
                        [[ $phase_func != src_compile ]] && \
                                eqawarn "QA Notice: econf called in" \
                                        "$phase_func instead of src_compile"