aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2017-12-04 11:06:01 -0600
committerGanesh Viswanathan <dev@genotrance.com>2017-12-04 11:06:01 -0600
commit0611d7de5aae1c73b67cdd952b414eeace1e3783 (patch)
treebc153dc54d5cee49f4572be4a4616888984aac29
parent9bcabd23e3c542937e12b25aae94f6eb43ff75c4 (diff)
downloadnimgen-0611d7de5aae1c73b67cdd952b414eeace1e3783.tar.gz
nimgen-0611d7de5aae1c73b67cdd952b414eeace1e3783.zip
Overwrite on unzipv0.1.1
-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('$#', '.'); }\""