Don't allow build to be rescued if the untar fails
This commit is contained in:
parent
822a30e39d
commit
11060f399b
@ -127,9 +127,9 @@ public
|
||||
ohai "Downloading #{@url}"
|
||||
FileUtils.mkpath HOMEBREW_CACHE
|
||||
Dir.chdir HOMEBREW_CACHE do
|
||||
tmp=tgz=nil
|
||||
tmp=nil
|
||||
tgz=Pathname.new(fetch()).realpath
|
||||
begin
|
||||
tgz=Pathname.new(fetch()).realpath
|
||||
md5=`md5 -q "#{tgz}"`.strip
|
||||
raise "MD5 mismatch: #{md5}" unless @md5 and md5 == @md5.downcase
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user