diff options
author | Erik Schnetter <schnetter@gmail.com> | 2017-03-17 17:07:49 -0400 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-03-17 16:07:49 -0500 |
commit | a2235fed41bc246792c19829f2b5594ae8d539d1 (patch) | |
tree | f1921e9a19c5ada2324740f179cf9b6d0d4ba397 | |
parent | b0d90886031312cb1633dc50d38b977dd9720cff (diff) | |
download | spack-a2235fed41bc246792c19829f2b5594ae8d539d1.tar.gz spack-a2235fed41bc246792c19829f2b5594ae8d539d1.tar.bz2 spack-a2235fed41bc246792c19829f2b5594ae8d539d1.tar.xz spack-a2235fed41bc246792c19829f2b5594ae8d539d1.zip |
julia: Create cacert directory manually to ensure correct permissions (#3482)
-rw-r--r-- | var/spack/repos/builtin/packages/julia/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py index 7650bfc6ca..97a4a6774e 100644 --- a/var/spack/repos/builtin/packages/julia/package.py +++ b/var/spack/repos/builtin/packages/julia/package.py @@ -150,8 +150,10 @@ class Julia(Package): make("install") # Julia's package manager needs a certificate + cacert_dir = join_path(prefix, "etc", "curl") + mkdirp(cacert_dir) + cacert_file = join_path(cacert_dir, "cacert.pem") curl = which("curl") - cacert_file = join_path(prefix, "etc", "curl", "cacert.pem") curl("--create-dirs", "--output", cacert_file, "https://curl.haxx.se/ca/cacert.pem") |