aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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