diff options
author | Arie Middelkoop <amiddelk@gmail.com> | 2012-02-23 23:50:56 +0000 |
---|---|---|
committer | Arie Middelkoop <amiddelk@gmail.com> | 2012-02-23 23:50:56 +0000 |
commit | 70d56e06383cfa6eb547ce7f1882bfcd95b1e813 (patch) | |
tree | fa4d7f42aebac04ec80c2ae72b8b41f7f46020ae /pkgs/build-support/release/source-tarball.nix | |
parent | 2c7845859fdcc8db6e44244cf1e049f96c26955a (diff) | |
download | nixpkgs-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar nixpkgs-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.gz nixpkgs-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.bz2 nixpkgs-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.lz nixpkgs-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.xz nixpkgs-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.zst nixpkgs-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.zip |
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
Diffstat (limited to 'pkgs/build-support/release/source-tarball.nix')
-rw-r--r-- | pkgs/build-support/release/source-tarball.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/release/source-tarball.nix b/pkgs/build-support/release/source-tarball.nix index 16ac0033d93..0475cdf76b7 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 |