[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
commit b2873f0f63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: