diff options
Diffstat (limited to 'lib/spack')
-rw-r--r-- | lib/spack/spack/build_systems/_checks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/build_systems/_checks.py b/lib/spack/spack/build_systems/_checks.py index 658362902b..c041098239 100644 --- a/lib/spack/spack/build_systems/_checks.py +++ b/lib/spack/spack/build_systems/_checks.py @@ -87,11 +87,11 @@ def ensure_build_dependencies_or_raise(spec, dependencies, error_msg): ) for dep in missing_deps: - msg += " depends_on('{0}', type='build', when='@{1} {2}')\n".format( + msg += ' depends_on("{0}", type="build", when="@{1} {2}")\n'.format( dep, spec.version, "build_system=autotools" ) - msg += "\nUpdate the version (when='@{0}') as needed.".format(spec.version) + msg += '\nUpdate the version (when="@{0}") as needed.'.format(spec.version) raise RuntimeError(msg) |