summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-07-24 15:19:27 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-07-24 15:19:27 -0500
commit29278090ebeb6cfbb0644206c68531c7109f2bf8 (patch)
tree674eec6b7d7dd6b60770e778ec1f54e9467b52a1
parent7220bc1766a7c76e53464b009a5816c40f606575 (diff)
downloadspack-29278090ebeb6cfbb0644206c68531c7109f2bf8.tar.gz
spack-29278090ebeb6cfbb0644206c68531c7109f2bf8.tar.bz2
spack-29278090ebeb6cfbb0644206c68531c7109f2bf8.tar.xz
spack-29278090ebeb6cfbb0644206c68531c7109f2bf8.zip
Fix OpenSSL url_for_version
-rw-r--r--var/spack/repos/builtin/packages/openssl/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py
index b9eada9e83..78bdd88d9c 100644
--- a/var/spack/repos/builtin/packages/openssl/package.py
+++ b/var/spack/repos/builtin/packages/openssl/package.py
@@ -52,7 +52,7 @@ class Openssl(Package):
if '@system' in self.spec:
return '@system (reserved version for system openssl)'
else:
- return super(Openssl, self).url_for_version(self.spec)
+ return super(Openssl, self).url_for_version(self.version)
def handle_fetch_error(self, error):
tty.warn("Fetching OpenSSL failed. This may indicate that OpenSSL has "