[前][次][番号順一覧][スレッド一覧]

ruby-changes:46398

From: nobu <ko1@a...>
Date: Sun, 30 Apr 2017 19:53:46 +0900 (JST)
Subject: [ruby-changes:46398] nobu:r58512 (trunk): git-refresh: fix for Solaris

nobu	2017-04-30 19:53:42 +0900 (Sun, 30 Apr 2017)

  New Revision: 58512

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58512

  Log:
    git-refresh: fix for Solaris
    
    * tool/git-refresh: expand for each words.
      [ruby-dev:50102] [Bug #13522]

  Modified files:
    trunk/tool/git-refresh
Index: tool/git-refresh
===================================================================
--- tool/git-refresh	(revision 58511)
+++ tool/git-refresh	(revision 58512)
@@ -34,10 +34,10 @@ if [ -d "$dir" ]; then https://github.com/ruby/ruby/blob/trunk/tool/git-refresh#L34
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]