From 9d216a53f8080e215330bb2fcd746eb656887967 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Tue, 26 Jan 2016 15:52:45 +0800 Subject: [PATCH] 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 --- Library/Homebrew/cmd/bottle.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 62fabf416a..594058df67 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