summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 6537b1c2cf..3a88f67340 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -58,7 +58,7 @@ class Trilinos(Package):
def url_for_version(self, version):
return '%s/trilinos-release-%s.tar.gz' % \
- (Trilinos.base_url, str(version).replace('.', '-'))
+ (Trilinos.base_url, version.dashed)
variant('metis', default=True,
description='Compile with METIS and ParMETIS')