debian/rules: Force CONFIG_SHELL=/bin/bash to avoid lossage that can occur
authorAaron M. Ucko <ucko@debian.org>
Thu, 9 Jun 2011 23:22:31 +0000 (23:22 +0000)
committerAaron M. Ucko <ucko@debian.org>
Thu, 9 Jun 2011 23:22:31 +0000 (23:22 +0000)
with zsh4 masquerading as ksh, which configure otherwise favors (due to
complaints from users with broken BASH_ENV scripts that change directories).

debian/changelog
debian/rules

index 558cfe7ff412ea19dc6661c29137634a0c152c13..e5bb296abc91de8c9c6228efb96a45dd0c3a0747 100644 (file)
@@ -6,8 +6,11 @@ ncbi-blast+ (2.2.25-3) UNRELEASED; urgency=low
     - Export MAKE to override an internal upstream build script that
       otherwise incorrectly defaults to gmake on non-Linux
       architectures. (Really closes: #629656, with any luck.)
+    - Force CONFIG_SHELL=/bin/bash to avoid lossage that can occur with zsh4
+      masquerading as ksh, which configure otherwise favors (due to complaints
+      from users with broken BASH_ENV scripts that change directories).
 
- -- Aaron M. Ucko <ucko@debian.org>  Thu, 09 Jun 2011 19:19:46 -0400
+ -- Aaron M. Ucko <ucko@debian.org>  Thu, 09 Jun 2011 19:22:24 -0400
 
 ncbi-blast+ (2.2.25-2) unstable; urgency=low
 
index e4b82d32d2706ee60de60c8612be1cdc7ca6d1cf..91d3841b91554ce294d91c6d49458f7aef4ac791 100755 (executable)
@@ -27,7 +27,7 @@ export MAKE
 llp=LD_LIBRARY_PATH
 override_dh_auto_configure:
        cd c++  &&  $(llp)=$(CURDIR)/c++/BUILD/lib$${$(llp)+:$$$(llp)} \
-           ./configure $(DEB_CONFIGURE_EXTRA_FLAGS)
+           CONFIG_SHELL=/bin/bash ./configure $(DEB_CONFIGURE_EXTRA_FLAGS)
 
 override_dh_auto_build:
        cd c++/BUILD/build  &&  make -f Makefile.flat \