mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Replace hardlinks with symlinks for brew tests
Fixes https://github.com/Homebrew/brew/issues/20114
This commit is contained in:
parent
6301c2d31f
commit
d2b6531f01
@ -252,7 +252,7 @@ RSpec.configure do |config|
|
||||
|
||||
# Link original API cache files to test cache directory.
|
||||
Pathname("#{ENV.fetch("HOMEBREW_CACHE")}/api").glob("*.json").each do |path|
|
||||
FileUtils.ln path, HOMEBREW_CACHE/"api/#{path.basename}"
|
||||
FileUtils.ln_s path, HOMEBREW_CACHE/"api/#{path.basename}"
|
||||
end
|
||||
|
||||
begin
|
||||
|
Loading…
x
Reference in New Issue
Block a user