From: Fabian Groffen Date: Thu, 12 Mar 2009 21:08:18 +0000 (-0000) Subject: silence false positive X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7fea91087fd1082dd1be22e6d8ebec6233a5084d;p=portage.git silence false positive svn path=/main/branches/prefix/; revision=13103 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 790b24571..e3a7d18e4 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -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"