mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
[tools] use the right parameter [backport:1.0] (#18957)
(cherry picked from commit b2873f0f63)
This commit is contained in:
@@ -41,7 +41,7 @@ proc downloadMingw(): DownloadResult =
|
||||
let curl = findExe"curl"
|
||||
var cmd: string
|
||||
if curl.len > 0:
|
||||
cmd = quoteShell(curl) & " --out " & "dist" / mingw & " " & url
|
||||
cmd = quoteShell(curl) & " --output " & "dist" / mingw & " " & url
|
||||
elif fileExists"bin/nimgrab.exe":
|
||||
cmd = r"bin\nimgrab.exe " & url & " dist" / mingw
|
||||
if cmd.len > 0:
|
||||
|
||||
Reference in New Issue
Block a user