diff options
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
| -rw-r--r-- | Library/Homebrew/formula_support.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index a36f5a387..f1eebd1d7 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -16,11 +16,11 @@ class SoftwareSpec end def download_strategy - @download_strategy ||= DownloadStrategyDetector.detect(@url, @using) + @download_strategy ||= DownloadStrategyDetector.detect(url, using) end def verify_download_integrity fn - fn.verify_checksum @checksum + fn.verify_checksum(checksum) rescue ChecksumMissingError opoo "Cannot verify package integrity" puts "The formula did not provide a download checksum" @@ -61,7 +61,7 @@ class SoftwareSpec end def mirror val - @mirrors << val + mirrors << val end end |
