Merge pull request #1375 from zmwangx/fix-bottle-nonexistent-pyc-bug
bottle: fix nonexistent pyc bug
This commit is contained in:
commit
030c3a5016
@ -190,12 +190,12 @@ module Homebrew
|
|||||||
changed_files = nil
|
changed_files = nil
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
keg.delete_pyc_files!
|
||||||
|
|
||||||
unless ARGV.include? "--skip-relocation"
|
unless ARGV.include? "--skip-relocation"
|
||||||
changed_files = keg.replace_locations_with_placeholders
|
changed_files = keg.replace_locations_with_placeholders
|
||||||
end
|
end
|
||||||
|
|
||||||
keg.delete_pyc_files!
|
|
||||||
|
|
||||||
Tab.clear_cache
|
Tab.clear_cache
|
||||||
tab = Tab.for_keg(keg)
|
tab = Tab.for_keg(keg)
|
||||||
original_tab = tab.dup
|
original_tab = tab.dup
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user