summary refs log tree commit diff stats
path: root/tools/finish.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tools/finish.nim')
-rw-r--r--tools/finish.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/finish.nim b/tools/finish.nim
index 45d7dd3a8..207f15f76 100644
--- a/tools/finish.nim
+++ b/tools/finish.nim
@@ -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: