fetch: fix --retry with resources.
This commit is contained in:
parent
9c345bfc03
commit
9850e84f3b
@ -28,7 +28,7 @@ module Homebrew extend self
|
|||||||
puts "Resource: #{r.name}"
|
puts "Resource: #{r.name}"
|
||||||
fetch_fetchable r
|
fetch_fetchable r
|
||||||
rescue ChecksumMismatchError => e
|
rescue ChecksumMismatchError => e
|
||||||
retry if retry_fetch? f
|
retry if retry_fetch? r
|
||||||
opoo "Resource #{r.name} reports different #{e.hash_type}: #{e.expected}"
|
opoo "Resource #{r.name} reports different #{e.hash_type}: #{e.expected}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user