summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-22 05:38:12 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-22 05:38:12 +0000
commite258a70559dfb3720f8370c483241e2487e88a97 (patch)
tree5aa55d5f17acb07e79f09a5bd3907ea30d87ae5f
parentb37379d42e58bd5628feeaa0f06390e4c697efad (diff)
downloadportage-e258a70559dfb3720f8370c483241e2487e88a97.tar.gz
portage-e258a70559dfb3720f8370c483241e2487e88a97.tar.bz2
portage-e258a70559dfb3720f8370c483241e2487e88a97.zip
Fix src_compile() ECONF_SOURCE logic to make sure it behaves properly.
svn path=/main/trunk/; revision=6567
-rwxr-xr-xbin/ebuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 27dce2e28..33c6915be 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -565,9 +565,9 @@ src_unpack() {
}
src_compile() {
- if [ -x ./configure ] ; then
- econf
- elif [ "${EAPI:-0}" != 0 ] && [ -x "${ECONF_SOURCE:-.}/configure" ] ; then
+ if [ "${EAPI:-0}" == 0 ] ; then
+ [ -x ./configure ] && econf
+ elif [ -x "${ECONF_SOURCE:-.}/configure" ] ; then
econf
fi
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then