Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit dd25bf6

Browse files
committed
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
1 parent be4ed3e commit dd25bf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Library/Homebrew/cmd/bottle.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ def bottle_formula(f)
201201

202202
keg.delete_pyc_files!
203203

204+
Tab.clear_cache
204205
tab = Tab.for_keg(keg)
205206
original_tab = tab.dup
206207
tab.poured_from_bottle = false

0 commit comments

Comments
 (0)