Removed incorrect stage removal code from cleanup() in do_install()
This commit is contained in:
parent
f406fcb843
commit
c3246ee8ba
@ -779,14 +779,6 @@ def cleanup():
|
|||||||
"Manually remove this directory to fix:",
|
"Manually remove this directory to fix:",
|
||||||
self.prefix)
|
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():
|
def real_work():
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user