[Debian-ha-maintainers] [PATCH] debian/rules: force bash for configure (#582874)

Florian Haas florian.haas at linbit.com
Tue May 25 10:32:57 UTC 2010


# HG changeset patch
# User Florian Haas <florian.haas at linbit.com>
# Date 1274778576 -7200
# Branch sid
# Node ID 8c7e088098feba1d4bae115acb3d646b743e2462
# Parent  01459d573bc597a83911cdb78deba704dea0ad79
debian/rules: force bash for configure (#582874)

Fix debian/rules to explicitly invoke bash for running configure (see
BTS #582874).

diff -r 01459d573bc5 -r 8c7e088098fe debian/rules
--- a/debian/rules	Sun May 16 21:36:34 2010 +0200
+++ b/debian/rules	Tue May 25 11:09:36 2010 +0200
@@ -42,15 +42,15 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
-	# Only boostrap as neccessary
+	# Only bootstrap as neccessary
 	if test -e ./configure -a ! -x ./configure; then		\
 		chmod u+x ./configure;					\
 	fi
 	if test -e ./py-compile -a ! -x ./py-compile; then		\
 		chmod u+x ./py-compile;					\
 	fi
-	test ! -x ./configure || ./configure $(cfg);
-	test -x ./configure || ./bootstrap $(cfg)
+	test ! -x ./configure || /bin/bash ./configure $(cfg);
+	test -x ./configure || /bin/bash ./bootstrap $(cfg)
 	$(MAKE)
 	touch build-stamp
 





More information about the Debian-ha-maintainers mailing list