aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-12-08 21:37:22 +0000
committerMike McQuaid2013-12-08 21:37:40 +0000
commit81d420492c4be9278fcf26d5bef21625d0abf32a (patch)
treed019fd8a4c5dd82a08bc33b53c45494ada29b7c7 /Library
parentf5fcf1be2fac98e148f005f6d6cb754436fabd33 (diff)
downloadhomebrew-81d420492c4be9278fcf26d5bef21625d0abf32a.tar.bz2
formula, resource: output when verifying checksum.
References #24566.
Diffstat (limited to 'Library')
-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