Thread (11 messages) flat view 11 messages, 6 authors, 2016-06-15

Re: [PATCH] #!/bin/sh --> #!/usr/bin/env bash

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:41:54

Alecs King wrote:
And as for bash, only gitdiff-do and gitlog.sh 'explicitly' use bash
instead of /bin/sh.  On most Linux distros, /bin/sh is just a symbolic
link to bash.  But not on some others.  I found gitlsobj.sh could not
work using a plain /bin/sh on fbsd.  To make life easier, i think it
might be better if we all explicitly use bash for all shell scripts.
How about #!/bin/bash (build from .in files if you feel it necessary to 
support systems which don't have bash in /bin) instead of doubling the 
number of execs?

	-hpa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help