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

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

Date: Thu, 2 Dec 2010 11:38:06 -0500

To: notmuch@notmuchmail.org

Cc:

From: Mike Kelly


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

Thread: