cleanup: fix bottle reference.

Closes #214.
Closes #215.
This commit is contained in:
Mike McQuaid 2016-05-08 17:05:25 +01:00
parent 549c86dfe2
commit c5bfc932a6

View File

@ -88,7 +88,7 @@ module Homebrew
f.version > version
end
if file_is_stale || ARGV.switch?("s") && !f.installed? || bottle_file_outdated?(f, file)
if file_is_stale || ARGV.switch?("s") && !f.installed? || Utils::Bottles::file_outdated?(f, file)
cleanup_path(file) { file.unlink }
end
end