Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] contrib: Replaced /bin/sh with /bin/bash to make scripts with Bash syntax work on Solaris.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:16

Asgeir Storesund Nilsen [off-list ref] writes:
I absolutely agree on the idea of using pure POSIX, but in reality I guess
most of both developer and user base are using (GNU/)Linux and thus an
environment where /bin/sh is in fact Bash?
For example, dash is a much lighter alternative than bash, and groks POSIX
fine.

I think a safer assumption is that /bin/sh is POSIX, and we make sure that
the builder can countermand it with SHELL_PATH; as platforms whose /bin/sh
is _not_ POSIX does not have to have bash as /bin/bash but somewhere else
(e.g. /usr/local/bin/bash).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help