From e97e093a3d48fa65bbd42b63c71872cec58c95fd Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 30 Apr 2017 10:53:42 +0000 Subject: 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 --- tool/git-refresh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool') 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 -- cgit v1.2.3