diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-02-07 11:32:26 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-10 01:29:54 -0800 |
commit | 048c406f49a3c7a30008268590ab57b74ea60b6b (patch) | |
tree | 868261c24698574d8cb829cb28c9607160882fef /lib | |
parent | b0572a546242ef1c570f5dd3c9c6336bc1d55607 (diff) | |
download | spack-048c406f49a3c7a30008268590ab57b74ea60b6b.tar.gz spack-048c406f49a3c7a30008268590ab57b74ea60b6b.tar.bz2 spack-048c406f49a3c7a30008268590ab57b74ea60b6b.tar.xz spack-048c406f49a3c7a30008268590ab57b74ea60b6b.zip |
Remove vestigial variants in directory name.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/directory_layout.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/spack/spack/directory_layout.py b/lib/spack/spack/directory_layout.py index b94468faf0..39ee4e203d 100644 --- a/lib/spack/spack/directory_layout.py +++ b/lib/spack/spack/directory_layout.py @@ -198,14 +198,10 @@ class YamlDirectoryLayout(DirectoryLayout): def relative_path_for_spec(self, spec): _check_concrete(spec) - + if spec.external: return spec.external - enabled_variants = ( - '-' + v.name for v in spec.variants.values() - if v.enabled) - dir_name = "%s-%s-%s" % ( spec.name, spec.version, |