From 247d598477ba0c2424d1e42fa4b5af0dfe1ae1d1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 28 Sep 2022 21:26:25 +0900 Subject: [PATCH] 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 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 {