diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 23007362d0..6f52c2b6db 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -1350,7 +1350,7 @@ class CVSDownloadStrategy < VCSDownloadStrategy end command! "cvs", - args: [*quiet_flag, "-d", @url, "checkout", "-d", cached_location.basename, @module], + args: [*quiet_flag, "-d", @url, "checkout", "-d", basename.to_s, @module], chdir: cached_location.dirname, timeout: Utils::Timer.remaining(timeout) end