diff --git a/base/interactiveutil.jl b/base/interactiveutil.jl index 60a53d6d712f1..96a493e03868e 100644 --- a/base/interactiveutil.jl +++ b/base/interactiveutil.jl @@ -568,7 +568,6 @@ end # file downloading -downloadcmd = nothing if is_windows() function download(url::AbstractString, filename::AbstractString) ps = "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" @@ -580,6 +579,7 @@ if is_windows() filename end else + downloadcmd = nothing function download(url::AbstractString, filename::AbstractString) global downloadcmd if downloadcmd === nothing