We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e24a4e commit 54b9b80Copy full SHA for 54b9b80
tool/fake.rb
@@ -13,7 +13,8 @@ class File
13
env or next
14
e = ENV[env] or next
15
e = e.split(File::PATH_SEPARATOR)
16
- e.delete(File.expand_path(path, builddir)) or next
+ path = File.realpath(path, builddir)
17
+ e.delete(path) or next
18
ENV[env] = (e.join(File::PATH_SEPARATOR) unless e.empty?)
19
end
20
0 commit comments