aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-21 23:47:29 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-21 23:47:29 +0900
commit361bce8d2c4c90a01eb3b7365a87dec0d93bb2b6 (patch)
treeea73150c3ffa6644beba7f7c4f4545d718425c07 /tool
parent38b79b05fd615b9e055f100f02faf5f5942e45c3 (diff)
downloadruby-361bce8d2c4c90a01eb3b7365a87dec0d93bb2b6.tar.gz
[Bug #19967] Ignore library before build
Diffstat (limited to 'tool')
-rw-r--r--tool/fake.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/fake.rb b/tool/fake.rb
index 87c8fb7cfc..0366144531 100644
--- a/tool/fake.rb
+++ b/tool/fake.rb
@@ -13,7 +13,7 @@ end
env or next
e = ENV[env] or next
e = e.split(File::PATH_SEPARATOR)
- path = File.realpath(path, builddir)
+ path = File.realpath(path, builddir) rescue next
e.delete(path) or next
ENV[env] = (e.join(File::PATH_SEPARATOR) unless e.empty?)
end