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

ruby-changes:33882

From: usa <ko1@a...>
Date: Sat, 17 May 2014 00:36:03 +0900 (JST)
Subject: [ruby-changes:33882] usa:r45963 (trunk): * tool/release.sh: need -f option because this overwrite the previous links if they exist.

usa	2014-05-17 00:35:50 +0900 (Sat, 17 May 2014)

  New Revision: 45963

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45963

  Log:
    * tool/release.sh: need -f option because this overwrite the previous links if they exist.

  Modified files:
    trunk/tool/release.sh
Index: tool/release.sh
===================================================================
--- tool/release.sh	(revision 45962)
+++ tool/release.sh	(revision 45963)
@@ -30,9 +30,9 @@ do https://github.com/ruby/ruby/blob/trunk/tool/release.sh#L30
   for ext in $EXTS
   do
     cp $r$ext $dir/$r$ext
-    ln -s $xy/$r$ext ${RUBYDIR}/$r$ext
+    ln -sf $xy/$r$ext ${RUBYDIR}/$r$ext
     if [ x$preview = x ];then
-      ln -s $xy/$r$ext ${RUBYDIR}/ruby-$xy-stable$ext
+      ln -sf $xy/$r$ext ${RUBYDIR}/ruby-$xy-stable$ext
     fi
   done
 done

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

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