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

Ruben Pollan meskio at sindominio.net
Thu Dec 2 07:13:25 PST 2010


On 21:27, Wed 01 Dec 10, 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.

Is there any reason to use bash? Is the test system dependent to any key feature
of bash?

Not every system has bash installed. To have a dependency on bash just for
development I think is not a big issue. But if it don't requires any big effort
I think will be better to have it more generic.


-- 
Rubén Pollán  | jabber:meskio at jabber.org
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Nos vamos a Croatan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101202/e14f28db/attachment.pgp>


More information about the notmuch mailing list