bottle: clear tab cache

We cached the tab file content during formula loading.
Let's discard them, so we can read tab content after relocation
This commit is contained in:
Xu Cheng 2016-01-26 15:52:45 +08:00
parent 1f2ca73ac1
commit 9d216a53f8

View File

@ -201,6 +201,7 @@ module Homebrew
keg.delete_pyc_files!
Tab.clear_cache
tab = Tab.for_keg(keg)
original_tab = tab.dup
tab.poured_from_bottle = false