Skip to content

Commit a68b1df

Browse files
authored
sadly https downloads from anaconda.org have certificate issues
and we should give the package manager warning if downloaded git doesn't work (looks like we need to worry about openssl and maybe other dependencies)
1 parent 7f967e1 commit a68b1df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/build.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ if gitver == "notfound"
2020
if is_linux() && Sys.ARCH === :x86_64
2121
# use conda for a non-root option
2222
gitver = "2.8.2"
23-
baseurl = "https://anaconda.org/conda-forge/git/$gitver/download/linux-64/"
23+
baseurl = "http://anaconda.org/conda-forge/git/$gitver/download/linux-64/"
2424
filename = "git-$gitver-2.tar.bz2"
2525
elseif is_linux() && (Sys.ARCH in (:i686, :i586, :i486, :i386))
2626
# conda-forge doesn't build for 32 bit linux
2727
gitver = "2.6.4"
28-
baseurl = "https://anaconda.org/anaconda/git/$gitver/download/linux-32/"
28+
baseurl = "http://anaconda.org/anaconda/git/$gitver/download/linux-32/"
2929
filename = "git-$gitver-0.tar.bz2"
3030
elseif is_windows()
3131
# download and extract portablegit
@@ -58,8 +58,8 @@ if gitver == "notfound"
5858
# by setting an environment variable in deps.jl
5959
catch err
6060
error("Could not automatically install git, error was: $err\n" *
61-
(isempty(downloadurl) ? "Try installing git via your system " *
62-
"package manager then running\nPkg.build(\"Git\")" : ""))
61+
(is_windows() ? "" : "Try installing git via your " *
62+
"system package manager then running\nPkg.build(\"Git\")"))
6363
end
6464
else
6565
try

0 commit comments

Comments
 (0)