Removed incorrect stage removal code from cleanup() in do_install()

This commit is contained in:
Gregory Becker 2015-08-31 09:46:55 -07:00
parent f406fcb843
commit c3246ee8ba

View File

@ -779,14 +779,6 @@ def cleanup():
"Manually remove this directory to fix:",
self.prefix)
if not (keep_prefix and keep_stage):
self.do_clean()
else:
tty.warn("Keeping stage in place despite error.",
"Spack will refuse to uninstall dependencies of this package." +
"Manually remove this directory to fix:",
self.stage.path)
def real_work():
try: