summary refs log tree commit diff
path: root/pkgs/build-support/release
diff options
context:
space:
mode:
authorArie Middelkoop <amiddelk@gmail.com>2012-02-23 23:50:56 +0000
committerArie Middelkoop <amiddelk@gmail.com>2012-02-23 23:50:56 +0000
commit70d56e06383cfa6eb547ce7f1882bfcd95b1e813 (patch)
treefa4d7f42aebac04ec80c2ae72b8b41f7f46020ae /pkgs/build-support/release
parent2c7845859fdcc8db6e44244cf1e049f96c26955a (diff)
downloadnixlib-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar
nixlib-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.gz
nixlib-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.bz2
nixlib-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.lz
nixlib-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.xz
nixlib-70d56e06383cfa6eb547ce7f1882bfcd95b1e813.tar.zst
nixlib-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')
-rw-r--r--pkgs/build-support/release/source-tarball.nix2
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 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