Browse Source

contrib/git-subtree: Use /bin/sh interpreter instead of /bin/bash

Use /bin/sh interpreter instead of /bin/bash for contrib/git-subtree:
it's required for systems which don't use bash by default (for example,
FreeBSD), while there seem to be no bashisms in the script (confirmed
by looking through the source and tesing subtree functionality with
FreeBSD's /bin/sh) to require specifically bash and not the generic
posix shell.

Signed-off-by: Dmitry Marakasov <amdmi3@amdmi3.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Dmitry Marakasov 12 years ago committed by Junio C Hamano
parent
commit
6912ea952b
  1. 2
      contrib/subtree/git-subtree.sh

2
contrib/subtree/git-subtree.sh

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
# git-subtree.sh: split/join git repositories in subdirectories of this one
#

Loading…
Cancel
Save