bottle: re-raise interrupt after cleanup
This commit is contained in:
parent
4afd633570
commit
8f42185e18
@ -162,6 +162,7 @@ module Homebrew extend self
|
|||||||
relocatable = !keg_contains(HOMEBREW_CELLAR, keg) && relocatable
|
relocatable = !keg_contains(HOMEBREW_CELLAR, keg) && relocatable
|
||||||
rescue Interrupt
|
rescue Interrupt
|
||||||
ignore_interrupts { bottle_path.unlink if bottle_path.exist? }
|
ignore_interrupts { bottle_path.unlink if bottle_path.exist? }
|
||||||
|
raise
|
||||||
ensure
|
ensure
|
||||||
ignore_interrupts do
|
ignore_interrupts do
|
||||||
keg.relocate_install_names Keg::PREFIX_PLACEHOLDER, prefix,
|
keg.relocate_install_names Keg::PREFIX_PLACEHOLDER, prefix,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user