summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/spack b/bin/spack
index 454a9a5b2d..cc9450ade7 100755
--- a/bin/spack
+++ b/bin/spack
@@ -156,8 +156,8 @@ def main():
import spack.util.debug as debug
debug.register_interrupt_handler()
- from spack.yaml_version_check import check_yaml_versions
- check_yaml_versions()
+ # Run any available pre-run hooks
+ spack.hooks.pre_run()
spack.spack_working_dir = working_dir
if args.mock: