Skip to content

Commit

Permalink
try new curl command on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarbary committed Feb 29, 2016
1 parent 35d5591 commit d41c01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ end
# -static-libgfortran -static-libgcc src/ddierckx/*.f
url = "https://cache.julialang.org/https://bintray.com/artifact/download/tkelman/generic/ddierckx.7z"
try
download(url)
run(`curl -LO $url`)
catch
run(`powershell -Command "(new-object net.webclient).DownloadFile(\"$url\", \"ddierckx.7z\")"`)
end
Expand Down

0 comments on commit d41c01c

Please sign in to comment.