diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index f7db621abf..7f9f275d0e 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -433,13 +433,11 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy rescue ErrorDuringExecution raise CurlDownloadStrategyError, url end - ignore_interrupts do - cached_location.dirname.mkpath - temporary_path.rename(cached_location) - symlink_location.dirname.mkpath - end + cached_location.dirname.mkpath + temporary_path.rename(cached_location) end + symlink_location.dirname.mkpath FileUtils.ln_s cached_location.relative_path_from(symlink_location.dirname), symlink_location, force: true rescue CurlDownloadStrategyError raise if urls.empty?