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

ruby-changes:41714

From: nobu <ko1@a...>
Date: Tue, 9 Feb 2016 15:57:00 +0900 (JST)
Subject: [ruby-changes:41714] nobu:r53788 (trunk): mkrunnable.rb: symlink on Windows [ci skip]

nobu	2016-02-09 15:57:09 +0900 (Tue, 09 Feb 2016)

  New Revision: 53788

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

  Log:
    mkrunnable.rb: symlink on Windows [ci skip]
    
    * tool/mkrunnable.rb: File.symlink is supported on Windows now.

  Modified files:
    trunk/tool/mkrunnable.rb
Index: tool/mkrunnable.rb
===================================================================
--- tool/mkrunnable.rb	(revision 53787)
+++ tool/mkrunnable.rb	(revision 53788)
@@ -46,7 +46,7 @@ end https://github.com/ruby/ruby/blob/trunk/tool/mkrunnable.rb#L46
 
 alias ln_dir_safe ln_safe
 
-if /mingw|mswin/ =~ (CROSS_COMPILING || RUBY_PLATFORM)
+if !File.respond_to?(:symlink) && /mingw|mswin/ =~ (CROSS_COMPILING || RUBY_PLATFORM)
   extend Mswin
 end
 

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

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