diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-30 10:53:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-30 10:53:42 +0000 |
commit | e97e093a3d48fa65bbd42b63c71872cec58c95fd (patch) | |
tree | a247b3c2bfc78160330378e62c3f85a5db5ad303 /tool | |
parent | c4378e0fb8380af69020286714a9f8e9f19b608d (diff) | |
download | ruby-e97e093a3d48fa65bbd42b63c71872cec58c95fd.tar.gz |
git-refresh: fix for Solaris
* tool/git-refresh: expand for each words.
[ruby-dev:50102] [Bug #13522]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/git-refresh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/git-refresh b/tool/git-refresh index 1c1689cd2c..d36c4d80bc 100755 --- a/tool/git-refresh +++ b/tool/git-refresh @@ -34,10 +34,10 @@ if [ -d "$dir" ]; then echo updating `expr "/$dir/" : '.*/\([^/][^/]*\)/'` ... [ $quiet ] || set -x $CHDIR "$dir" - ${branch+git fetch "$@"} + ${branch+git} ${branch+fetch} ${branch+"$@"} exec git ${branch+checkout} "${branch-pull}" "$@" else echo retrieving `expr "/$dir/" : '.*/\([^/][^/]*\)/'` ... [ $quiet ] || set -x - exec git clone ${branch+--branch "$branch"} "$url" "$dir" "$@" + exec git clone ${branch+--branch} ${branch+"$branch"} "$url" "$dir" "$@" fi |