diff options
author | Araq <rumpf_a@web.de> | 2014-10-12 03:13:12 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-10-12 03:13:12 +0200 |
commit | ca4c64dd72646abec1b9683bb422f8cb2ca81ad7 (patch) | |
tree | 8552a5462cfa387972c4707d0ea932fac9d17d10 /tools/niminst | |
parent | 399c985b62b35e7d81149ceef5d9a51fdeac35ed (diff) | |
download | Nim-ca4c64dd72646abec1b9683bb422f8cb2ca81ad7.tar.gz |
zipfile generation works again
Diffstat (limited to 'tools/niminst')
-rw-r--r-- | tools/niminst/niminst.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim index bf8a7a84f..50b3dacc3 100644 --- a/tools/niminst/niminst.nim +++ b/tools/niminst/niminst.nim @@ -503,9 +503,9 @@ when haveZipLib: else: n = c.outdir / n var z: TZipArchive if open(z, n, fmWrite): - addFile(z, proj / buildBatFile32, buildBatFile32) - addFile(z, proj / buildBatFile64, buildBatFile64) - addFile(z, proj / buildShFile, buildShFile) + addFile(z, proj / buildBatFile32, "build" / buildBatFile32) + addFile(z, proj / buildBatFile64, "build" / buildBatFile64) + addFile(z, proj / buildShFile, "build" / buildShFile) addFile(z, proj / installShFile, installShFile) addFile(z, proj / deinstallShFile, deinstallShFile) for f in walkFiles(c.libpath / "lib/*.h"): @@ -513,7 +513,7 @@ when haveZipLib: for osA in 1..c.oses.len: for cpuA in 1..c.cpus.len: var dir = buildDir(osA, cpuA) - for k, f in walkDir(dir): + for k, f in walkDir("build" / dir): if k == pcFile: addFile(z, proj / dir / extractFilename(f), f) for cat in items({fcConfig..fcOther, fcUnix}): |