[PATCH] test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability

Carl Worth cworth at cworth.org
Fri May 27 14:04:53 PDT 2011


On Wed,  1 Dec 2010 21:27:52 +0100, Joel Borggrén-Franck <joel.borggren.franck at gmail.com> wrote:
> From: Joel Borggrén-Franck <jbf at codehouse.se>
> 
> Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way
> systems running on bash < 4 can prepend bash >= 4 to path before
> running the tests.

Thanks for the patch, Joel!

This issue recently came up again on IRC, so I dug out this patch,
applied, and pushed it.

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110527/f9cf0cd3/attachment.pgp>


More information about the notmuch mailing list