From 70d56e06383cfa6eb547ce7f1882bfcd95b1e813 Mon Sep 17 00:00:00 2001 From: Arie Middelkoop Date: Thu, 23 Feb 2012 23:50:56 +0000 Subject: 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 --- pkgs/build-support/release/source-tarball.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/build-support/release') diff --git a/pkgs/build-support/release/source-tarball.nix b/pkgs/build-support/release/source-tarball.nix index 16ac0033d93b..0475cdf76b77 100644 --- a/pkgs/build-support/release/source-tarball.nix +++ b/pkgs/build-support/release/source-tarball.nix @@ -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 -- cgit 1.4.1