Commit 7c7dc35c authored by Vincent Driessen's avatar Vincent Driessen

Merge branch 'develop' of https://github.com/kixx/gitflow into develop

parents 3d127721 06e854ab
...@@ -94,7 +94,7 @@ main() { ...@@ -94,7 +94,7 @@ main() {
# in that case, we interpret this arg as a flag for the default # in that case, we interpret this arg as a flag for the default
# command # command
SUBACTION="default" SUBACTION="default"
if [ "$1" != "" ] && ! echo "$1" | grep -q "^-"; then if [ "$1" != "" ] && { ! echo "$1" | grep -q "^-"; } then
SUBACTION="$1"; shift SUBACTION="$1"; shift
fi fi
if ! type "cmd_$SUBACTION" >/dev/null 2>&1; then if ! type "cmd_$SUBACTION" >/dev/null 2>&1; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment