diff options
Diffstat (limited to 'lib/spack/spack/directory_layout.py')
-rw-r--r-- | lib/spack/spack/directory_layout.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/spack/spack/directory_layout.py b/lib/spack/spack/directory_layout.py index bfe7077547..d7884423ce 100644 --- a/lib/spack/spack/directory_layout.py +++ b/lib/spack/spack/directory_layout.py @@ -6,6 +6,7 @@ import errno import glob import os +import posixpath import re import shutil import tempfile @@ -23,9 +24,9 @@ import spack.spec import spack.util.spack_json as sjson from spack.error import SpackError -default_projections = {'all': ('{architecture}/' - '{compiler.name}-{compiler.version}/' - '{name}-{version}-{hash}')} +default_projections = {'all': posixpath.join( + '{architecture}', '{compiler.name}-{compiler.version}', + '{name}-{version}-{hash}')} def _check_concrete(spec): |