Remove enabled variants from install prefix.
- these make the prefix too long in many cases. - users can figure out which install is which by querying.
This commit is contained in:
parent
adbd393c39
commit
8818f4ac5e
1 changed files with 1 additions and 6 deletions
|
@ -187,14 +187,9 @@ def hidden_file_paths(self):
|
|||
|
||||
def relative_path_for_spec(self, spec):
|
||||
_check_concrete(spec)
|
||||
enabled_variants = (
|
||||
'-' + v.name for v in spec.variants.values()
|
||||
if v.enabled)
|
||||
|
||||
dir_name = "%s-%s%s-%s" % (
|
||||
dir_name = "%s-%s-%s" % (
|
||||
spec.name,
|
||||
spec.version,
|
||||
''.join(enabled_variants),
|
||||
spec.dag_hash(self.hash_len))
|
||||
|
||||
path = join_path(
|
||||
|
|
Loading…
Reference in a new issue