Skip to content

Commit

Permalink
contrib/git-subtree: Use /bin/sh interpreter instead of /bin/bash
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Marakasov authored and Junio C Hamano committed May 21, 2013
1 parent 9134a46 commit 6912ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/subtree/git-subtree.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
# git-subtree.sh: split/join git repositories in subdirectories of this one
#
Expand Down

0 comments on commit 6912ea9

Please sign in to comment.