diff --git a/lib/spack/spack/build_systems/cmake.py b/lib/spack/spack/build_systems/cmake.py index 0f2970bb3e..2f5fd05405 100644 --- a/lib/spack/spack/build_systems/cmake.py +++ b/lib/spack/spack/build_systems/cmake.py @@ -314,7 +314,7 @@ def build_directory(self): :return: directory where to build the package """ - dirname = 'spack-build=%s' % self.spec.dag_hash(7) + dirname = 'spack-build-%s' % self.spec.dag_hash(7) return os.path.join(self.stage.path, dirname) def cmake_args(self):