Skip to content

Commit

Permalink
Fix: quote arg to typeset
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Feb 2, 2010
1 parent aaec7b3 commit e168487
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 @@ -87,7 +87,7 @@ main() {
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
Expand Down

0 comments on commit e168487

Please sign in to comment.