summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/installer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/spack/spack/installer.py b/lib/spack/spack/installer.py
index c348dd58c5..7a69d80abc 100644
--- a/lib/spack/spack/installer.py
+++ b/lib/spack/spack/installer.py
@@ -2042,9 +2042,8 @@ class BuildProcessInstaller(object):
tty.set_debug(inner_debug_level)
# Catch any errors to report to logging
- phase_fn.execute()
-
self.timer.start(phase_fn.name)
+ phase_fn.execute()
spack.hooks.on_phase_success(pkg, phase_fn.name, log_file)
self.timer.stop(phase_fn.name)