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

bin/ebuild.sh

index 25e41ec9d2f4484b2c55b8c6febd6a0ce54f1171..6940c9df47be06caaeec531b282969eead2b1be8 100755 (executable)
@@ -577,6 +577,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