Skip to content

Commit

Permalink
Fix parsing for Bourne shell (FreeBSD)
Browse files Browse the repository at this point in the history
  • Loading branch information
kixx committed Jul 6, 2011
1 parent 0191c68 commit 06e854a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-flow
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ main() {
# 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
Expand Down

0 comments on commit 06e854a

Please sign in to comment.