commit | 1f2741aa131cbced71986f934081517d28acc683 | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周三 1月 27 12:55:12 2010 +0100 |
committer | Vincent Driessen <vincent@datafox.nl> | 周三 1月 27 12:55:12 2010 +0100 |
tree | 545b92c158cfec906a5699c25a7360faab713950 | |
parent | 2ba9a4da3c781418f3b6f5c7bf77783b37475d3d [diff] |
sh builtin command typeset is more portable than declare
diff --git a/git-flow b/git-flow index 81f87fc..bede192 100755 --- a/git-flow +++ b/git-flow
@@ -77,7 +77,7 @@ # run command . "$GITFLOW_DIR/git-flow-$BTYPE" - if ! declare -f cmd_$ACTION >/dev/null; then + if ! typeset -f cmd_$ACTION >/dev/null; then usage exit 1 fi