diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-09 06:57:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-09 06:57:09 +0000 |
commit | 07983edfe34529903a1d76e9d9c4ca6c65411043 (patch) | |
tree | 57e31bf9f342c3544ae8e183fdb1e4a241f6768b /tool | |
parent | 94a9a314e69dd0ceb9f7dd02134de2008a949b65 (diff) |
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-x | tool/mkrunnable.rb | 2 |
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 |