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:
parent
2c7845859f
commit
70d56e0638
@ -54,7 +54,7 @@ stdenv.mkDerivation (
|
|||||||
|
|
||||||
eval "$preAutoconf"
|
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 ./bootstrap.sh; then ./bootstrap.sh
|
||||||
elif test -x ./autogen.sh; then ./autogen.sh
|
elif test -x ./autogen.sh; then ./autogen.sh
|
||||||
elif test -x ./autogen ; then ./autogen
|
elif test -x ./autogen ; then ./autogen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user