For bug #181104, make econf give an appropriate error message when configure is not...
authorZac Medico <zmedico@gentoo.org>
Fri, 8 Jun 2007 21:40:53 +0000 (21:40 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 8 Jun 2007 21:40:53 +0000 (21:40 -0000)
svn path=/main/trunk/; revision=6766

bin/ebuild.sh

index e533ca31d36bca25bb3859f16c0cb06910dd248b..ea1cd829094496d33eed16fbcf6971edfaf81b15 100755 (executable)
@@ -502,6 +502,8 @@ econf() {
                        fi
                        die "econf failed"
                fi
+       elif [ -f "${ECONF_SOURCE:-.}/configure" ]; then
+               die "configure is not executable"
        else
                die "no configure script found"
        fi