finish.nim: make it work with spaces in the path to curl
This commit is contained in:
parent
d27c0b2192
commit
82870058d3
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ proc downloadMingw(): DownloadResult =
|
|||
let curl = findExe"curl"
|
||||
var cmd: string
|
||||
if curl.len > 0:
|
||||
cmd = curl & " --out " & "dist" / mingw & " " & url
|
||||
cmd = quoteShell(curl) & " --out " & "dist" / mingw & " " & url
|
||||
elif fileExists"bin/nimgrab.exe":
|
||||
cmd = "bin/nimgrab.exe " & url & " dist" / mingw
|
||||
if cmd.len > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue