commit | 06e854ab1257c87f52632d367cc85345cddb863f | [log] [tgz] |
---|---|---|
author | Gruen Christian-Rolf (Kiki) <kiki@bsdro.org> | 周三 7月 06 18:07:01 2011 +0300 |
committer | Gruen Christian-Rolf (Kiki) <kiki@bsdro.org> | 周三 7月 06 18:07:01 2011 +0300 |
tree | 0c6a6648589d8ac043d0bba377f433c522d180c3 | |
parent | 0191c68d136f64f05776051d8c0fea3ef5c146f7 [diff] |
Fix parsing for Bourne shell (FreeBSD)
diff --git a/git-flow b/git-flow index fa87e71..97b1b34 100755 --- a/git-flow +++ b/git-flow
@@ -94,7 +94,7 @@ # in that case, we interpret this arg as a flag for the default # command SUBACTION="default" - if [ "$1" != "" ] && ! echo "$1" | grep -q "^-"; then + if [ "$1" != "" ] && { ! echo "$1" | grep -q "^-"; } then SUBACTION="$1"; shift fi if ! type "cmd_$SUBACTION" >/dev/null 2>&1; then