aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-09 06:57:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-09 06:57:09 +0000
commit14a6cc98adece6418fd0c07ef1b31abac29b62d9 (patch)
tree57e31bf9f342c3544ae8e183fdb1e4a241f6768b /tool
parent3371bb2bf5bc6d3318ec2bf0c7b1c554385db0a3 (diff)
downloadruby-14a6cc98adece6418fd0c07ef1b31abac29b62d9.tar.gz
mkrunnable.rb: symlink on Windows [ci skip]
* tool/mkrunnable.rb: File.symlink is supported on Windows now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mkrunnable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkrunnable.rb b/tool/mkrunnable.rb
index cbc4db7669..4e73771485 100755
--- a/tool/mkrunnable.rb
+++ b/tool/mkrunnable.rb
@@ -46,7 +46,7 @@ end
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