aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-05 18:08:21 -0500
committerJack Nagel2014-12-05 18:08:21 -0500
commit68a5268aef12ae684550157f635fadff16c94e8c (patch)
tree5ad5696b8a515b196e62f2d35b612af1ad554db5 /Library
parentecba7b4e7e172b625752048178cff81a232784e0 (diff)
downloadbrew-68a5268aef12ae684550157f635fadff16c94e8c.tar.bz2
Download strategies should return a Pathname from cached_location
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb
index f3bd46106..9cbce9acb 100644
--- a/Library/Homebrew/resource.rb
+++ b/Library/Homebrew/resource.rb
@@ -90,7 +90,7 @@ class Resource
end
def verify_download_integrity fn
- if fn.respond_to?(:file?) && fn.file?
+ if fn.file?
ohai "Verifying #{fn.basename} checksum" if ARGV.verbose?
fn.verify_checksum(checksum)
end