aboutsummaryrefslogtreecommitdiff
path: root/nimgen.nim
diff options
context:
space:
mode:
Diffstat (limited to 'nimgen.nim')
-rw-r--r--nimgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimgen.nim b/nimgen.nim
index 6f6998f..3c59524 100644
--- a/nimgen.nim
+++ b/nimgen.nim
@@ -54,7 +54,7 @@ proc execProc(cmd: string): string =
quit(1)
proc extractZip(zipfile: string) =
- var cmd = "unzip $#"
+ var cmd = "unzip -o $#"
if defined(Windows):
cmd = "powershell -nologo -noprofile -command \"& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('$#', '.'); }\""