mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 08:47:33 +00:00
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"
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user