[PATCH 0/3] Improve POSIX compatibility and general portablity
- From
Paul Campbell <pcampbell@kemitix.net>
- Date
- Mar 24, 2013, 19:37 UTC
- Message-ID
- <1364153863-27437-1-git-send-email-pcampbell@kemitix.net>
git-subtree is considered to be a Bash only script and not POSIX compatibile.
I removed the /bin/bash and tested with dash. All the tests passed.
I also followed some of the advice found in https://wiki.ubuntu.com/DashAsBinSh for converting a bash script to be more portable.
Paul Campbell (3): contrib/subtree: stop explicitly using a bash shell contrib/subtree: remove use of -a/-o in [ commands contrib/subtree: replace echo options with printf
contrib/subtree/git-subtree.sh | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-)
-- 1.8.2