aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2013-12-08 21:37:22 +0000
committerMike McQuaid2013-12-08 21:37:40 +0000
commita762f21e33302de61d8f7b3f1d7b0cdc99ce70d6 (patch)
treee10d97f80699e7725e631a0c9035388ab7cce60f
parent6e7e3317cf62780ccdc59c9c0f13f577709578fd (diff)
downloadbrew-a762f21e33302de61d8f7b3f1d7b0cdc99ce70d6.tar.bz2
formula, resource: output when verifying checksum.
References Homebrew/homebrew#24566.
-rw-r--r--Library/Homebrew/formula.rb1
-rw-r--r--Library/Homebrew/resource.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index b29df1cba..ad23f5d8d 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -534,6 +534,7 @@ class Formula
# For FormulaInstaller.
def verify_download_integrity fn
+ ohai "Verifying #{fn.basename} checksum" if ARGV.verbose?
active_spec.verify_download_integrity(fn)
end
diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb
index 1f2978344..4b575f0a6 100644
--- a/Library/Homebrew/resource.rb
+++ b/Library/Homebrew/resource.rb
@@ -84,6 +84,7 @@ class Resource
def verify_download_integrity fn
if fn.respond_to?(:file?) && fn.file?
+ ohai "Verifying #{fn.basename} checksum" if ARGV.verbose?
fn.verify_checksum(checksum)
end
rescue ChecksumMissingError