From 0611d7de5aae1c73b67cdd952b414eeace1e3783 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Mon, 4 Dec 2017 11:06:01 -0600 Subject: [PATCH] Overwrite on unzip --- nimgen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('$#', '.'); }\""