aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2017-12-04 14:26:44 -0600
committerGanesh Viswanathan <dev@genotrance.com>2017-12-04 14:26:44 -0600
commit3a6c74afb7eb4039228f057bb6b4716471c19a64 (patch)
treea1dd3993d8fc010bf5d5fd2e54439f665feb3522
parent27ea25b901787c2f4ac7b7534cc944f26a8dde6c (diff)
parent0611d7de5aae1c73b67cdd952b414eeace1e3783 (diff)
downloadnimgen-3a6c74afb7eb4039228f057bb6b4716471c19a64.tar.gz
nimgen-3a6c74afb7eb4039228f057bb6b4716471c19a64.zip
Merge branch 'master' of https://github.com/genotrance/nimgen
-rw-r--r--nimgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimgen.nim b/nimgen.nim
index 63ecce7..4d3c8ab 100644
--- a/nimgen.nim
+++ b/nimgen.nim
@@ -55,7 +55,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('$#', '.'); }\""