bottle: re-raise interrupt after cleanup

This commit is contained in:
Jack Nagel 2013-12-09 19:38:20 -06:00
parent 4afd633570
commit 8f42185e18

View File

@ -162,6 +162,7 @@ module Homebrew extend self
relocatable = !keg_contains(HOMEBREW_CELLAR, keg) && relocatable
rescue Interrupt
ignore_interrupts { bottle_path.unlink if bottle_path.exist? }
raise
ensure
ignore_interrupts do
keg.relocate_install_names Keg::PREFIX_PLACEHOLDER, prefix,