diff options
author | Araq <rumpf_a@web.de> | 2013-12-23 01:23:16 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-12-23 01:23:16 +0100 |
commit | b76729df1cd326a3230536d0f78276cfabe4dd2a (patch) | |
tree | 9a7cf9a40ef38a79513a0b4c850e68d53f215e91 /tools | |
parent | 9145bcfbb680d653f167a1a12f7830025aa951a5 (diff) | |
parent | 52a8226edda05f2d3baad791639a1c2fe7f103cc (diff) | |
download | Nim-b76729df1cd326a3230536d0f78276cfabe4dd2a.tar.gz |
Merge branch 'master' of https://github.com/Araq/Nimrod into vm2
Conflicts: web/news.txt
Diffstat (limited to 'tools')
-rw-r--r-- | tools/niminst/niminst.nim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim index 25ec0d283..0c9717e12 100644 --- a/tools/niminst/niminst.nim +++ b/tools/niminst/niminst.nim @@ -14,7 +14,7 @@ when haveZipLib: import zipfiles import - os, strutils, parseopt, parsecfg, strtabs, streams, debcreation + os, osproc, strutils, parseopt, parsecfg, strtabs, streams, debcreation const maxOS = 20 # max number of OSes @@ -486,7 +486,7 @@ proc setupDist(c: var TConfigData) = if c.innoSetup.path.len == 0: c.innoSetup.path = "iscc.exe" var outcmd = if c.outdir.len == 0: "build" else: c.outdir - var cmd = "$# $# /O$# $#" % [quoteIfContainsWhite(c.innoSetup.path), + var cmd = "$# $# /O$# $#" % [quoteShell(c.innoSetup.path), c.innoSetup.flags, outcmd, n] echo(cmd) if execShellCmd(cmd) == 0: @@ -587,4 +587,3 @@ if actionZip in c.actions: quit("libzip is not installed") if actionDeb in c.actions: debDist(c) - |