commit | e168487d5c5504cad4b374043792207a9d8399d6 | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周二 2月 02 06:33:53 2010 +0100 |
committer | Vincent Driessen <vincent@datafox.nl> | 周二 2月 02 06:33:53 2010 +0100 |
tree | b63154304894db1aad221bf780f2dff62860df1c | |
parent | aaec7b3b7254ce1c13ed91ee7699a1533d3c6362 [diff] [blame] |
Fix: quote arg to typeset
diff --git a/git-flow b/git-flow index 303e8a7..ec111e1 100755 --- a/git-flow +++ b/git-flow
@@ -87,7 +87,7 @@ if [ "$1" != "" ] && ! echo "$1" | grep -q "^-"; then SUBACTION="$1"; shift fi - if ! typeset -f cmd_$SUBACTION 2>&1 >/dev/null; then + if ! typeset -f "cmd_$SUBACTION" 2>&1 >/dev/null; then warn "Unknown subcommand: '$1'" usage exit 1