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

ruby-changes:73758

From: Nobuyoshi <ko1@a...>
Date: Wed, 28 Sep 2022 21:29:19 +0900 (JST)
Subject: [ruby-changes:73758] 247d598477 (master): Install all file trees for lldb [ci skip]

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

From 247d598477ba0c2424d1e42fa4b5af0dfe1ae1d1 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 28 Sep 2022 21:26:25 +0900
Subject: Install all file trees for lldb [ci skip]

It is no longer single lldb_cruby.py only.
---
 tool/rbinstall.rb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index c944ef74da..e94445114b 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -686,7 +686,13 @@ install?(:dbg, :nodefault) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L686
       RbConfig.expand(File.read(src), conf)
     }
   end
-  install File.join(srcdir, "misc/lldb_cruby.py"), File.join(rubylibdir, "lldb_cruby.py")
+  Dir.glob(File.join(srcdir, "misc/lldb_*")) do |src|
+    if File.directory?(src)
+      install_recursive src, File.join(rubylibdir, File.basename(src))
+    else
+      install src, rubylibdir
+    end
+  end
   install File.join(srcdir, ".gdbinit"), File.join(rubylibdir, "gdbinit")
   if $debug_symbols
     {
-- 
cgit v1.2.1


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

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