Fixed autoconfPhase so that it additionally tests if ./bootstrap is a file (and not a directory with executable permission) before executing it.

svn path=/nixpkgs/trunk/; revision=32530
This commit is contained in:
Arie Middelkoop 2012-02-23 23:50:56 +00:00
parent 2c7845859f
commit 70d56e0638

View File

@ -54,7 +54,7 @@ stdenv.mkDerivation (
eval "$preAutoconf"
if test -x ./bootstrap; then ./bootstrap
if test -x ./bootstrap && test -f ./bootstrap; then ./bootstrap
elif test -x ./bootstrap.sh; then ./bootstrap.sh
elif test -x ./autogen.sh; then ./autogen.sh
elif test -x ./autogen ; then ./autogen