julia: Create cacert directory manually to ensure correct permissions (#3482)
This commit is contained in:
parent
b0d9088603
commit
a2235fed41
@ -150,8 +150,10 @@ def install(self, spec, prefix):
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user