Skip to content

Commit

Permalink
Use curl temporarily until Downloads fixes make their way into 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Oct 16, 2020
1 parent c4c7c83 commit 292c34e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ArchiveUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ function verify(path::AbstractString, hash::AbstractString; hash_path::AbstractS
end

function download_verify(url, hash, path)
Downloads.download(url, path)
# Temporarily shell out to `curl` to download, until `Downloads` bugs are squashed
run(`curl -C - -s -\# -f -L $(url) -o $(path)`)
#Downloads.download(url, path)
verify(path, hash) || error("Verification failed")
end

0 comments on commit 292c34e

Please sign in to comment.