git-instaweb: use @SHELL_PATH@ instead of /bin/sh
commitff7a9dc2c503360190650d604dbdbc293d99b765
authorKyle J. McKay <mackyle@gmail.com>
Sun, 8 Mar 2015 05:05:38 +0000 (7 21:05 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Mar 2015 22:10:35 +0000 (10 15:10 -0700)
tree83d2af21c6866cd4792eb41596376d36ca800459
parent130e475e1f8aa72e48dde43159a28232ff31fee6
git-instaweb: use @SHELL_PATH@ instead of /bin/sh

If the user has configured a value for SHELL_PATH then
be sure to use it for any generated scripts instead of
hard-coding /bin/sh.

The first line of the script is handled specially, but
the embedded #!/bin/sh line in the here document will
not be automatically updated unless it uses @SHELL_PATH@.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-instaweb.sh