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

Simon Horman horms at verge.net.au
Wed May 26 00:00:52 UTC 2010


On Tue, May 25, 2010 at 12:32:57PM +0200, Florian Haas wrote:
> # 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).

Is forcing bash the best solution to this problem?

> 
> 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
>  
> 
> 
> 
> _______________________________________________
> Debian-ha-maintainers mailing list
> Debian-ha-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-ha-maintainers



More information about the Debian-ha-maintainers mailing list