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

Mike Kelly pioto at pioto.org
Thu Dec 2 08:38:06 PST 2010


On Wed, Dec 01, 2010 at 09:27:52PM +0100, Joel Borggrén-Franck 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.

This is also important on systems where bash isn't in /bin/ (for
example, FreeBSD), so I'd appreciate this patch. (I'm slowly working on
various other patches that are required to get things working well on
FreeBSD).

-- 
Mike Kelly


More information about the notmuch mailing list