[tools] use the right parameter [backport:1.0] (#18957)

This commit is contained in:
flywind
2021-10-06 18:47:46 +08:00
committed by GitHub
parent cb30dc5170
commit b2873f0f63

View File

@@ -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: