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

ruby-changes:69982

From: Nobuyoshi <ko1@a...>
Date: Tue, 30 Nov 2021 12:40:35 +0900 (JST)
Subject: [ruby-changes:69982] d20a120b03 (master): Recent systems prohibit symlink for relative loading

https://git.ruby-lang.org/ruby.git/commit/?id=d20a120b03

From d20a120b03a6bb39f06958abf0e04222960a58ab Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 30 Nov 2021 12:40:12 +0900
Subject: Recent systems prohibit symlink for relative loading

---
 tool/mkrunnable.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tool/mkrunnable.rb b/tool/mkrunnable.rb
index 62ace289806..ca1295c7fb8 100755
--- a/tool/mkrunnable.rb
+++ b/tool/mkrunnable.rb
@@ -54,7 +54,7 @@ end https://github.com/ruby/ruby/blob/trunk/tool/mkrunnable.rb#L54
 alias ln_dir_safe ln_safe
 
 case RUBY_PLATFORM
-when /linux/
+when /linux/, /darwin/, /solaris/
   def ln_exe(src, dest)
     ln(src, dest, force: true)
   end
-- 
cgit v1.2.1


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

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