Skip to content

Commit

Permalink
select libgit2 when tarball download fails
Browse files Browse the repository at this point in the history
  • Loading branch information
vdayanand committed Nov 22, 2017
1 parent 696afd0 commit 1d3edfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function install(
# returns path to version & if it's newly installed
version_path = find_installed(uuid, hash)
ispath(version_path) && return version_path, false
http_download_successful = true
http_download_successful = false
if !USE_LIBGIT2_FOR_ALL_DOWNLOADS && version != nothing
for url in urls
archive_url = get_archive_url_for_version(url, version)
Expand Down

0 comments on commit 1d3edfa

Please sign in to comment.