diff options
author | scheibelp <scheibel1@llnl.gov> | 2018-03-09 10:03:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-09 10:03:58 -0800 |
commit | f27f20e5b31797164658aeb7054f6f172b1d5d70 (patch) | |
tree | fa2beb4485a2ad3f240ea26183328162a416cc59 /share | |
parent | 869c654c37529b61b052148d2415295cb1ccd5df (diff) | |
download | spack-f27f20e5b31797164658aeb7054f6f172b1d5d70.tar.gz spack-f27f20e5b31797164658aeb7054f6f172b1d5d70.tar.bz2 spack-f27f20e5b31797164658aeb7054f6f172b1d5d70.tar.xz spack-f27f20e5b31797164658aeb7054f6f172b1d5d70.zip |
replace dash with underscore in os name/version (#7381)
Fixes #7356
In some cases OperatingSystem (e.g. LinuxDistro) was getting
instantiated with a version that contains dashes. This breaks because
the concretizer later converts this value to a string and re-parses
it, and the '-' character is used to separate architecture components.
This adds a guard in the initializer to convert '-' to '_'.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions