diff --git a/lib/spack/spack/cmd/install.py b/lib/spack/spack/cmd/install.py index af6f96d4e53..98b3ca35e9c 100644 --- a/lib/spack/spack/cmd/install.py +++ b/lib/spack/spack/cmd/install.py @@ -303,7 +303,7 @@ def install(parser, args, **kwargs): if not args.log_file and not reporter.filename: reporter.filename = default_log_file(specs[0]) reporter.specs = specs - with reporter: + with reporter('build'): if args.overwrite: installed = list(filter(lambda x: x,