diff options
| author | Xu Cheng | 2016-01-26 15:52:45 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-01-26 15:52:45 +0800 |
| commit | 9d216a53f8080e215330bb2fcd746eb656887967 (patch) | |
| tree | 9c34430d64fd51ca06763c7a8d0e253d6d64cecb /Library | |
| parent | 1f2ca73ac1429a1a6d937384d0259a65dbc3d97c (diff) | |
| download | brew-9d216a53f8080e215330bb2fcd746eb656887967.tar.bz2 | |
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
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 62fabf416..594058df6 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -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 |
