summary refs log tree commit diff stats
path: root/tools/niminst
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@gmail.com>2017-01-08 20:52:53 +0100
committerDominik Picheta <dominikpicheta@gmail.com>2017-01-08 20:52:53 +0100
commitb040f74356748653dab491e0c2796549c1db4ac3 (patch)
treee29188307a36c58dba1e9cfebd494977d61c0846 /tools/niminst
parentc6c226a6a23ce03cfccf6f3647295b5c98271d88 (diff)
downloadNim-b040f74356748653dab491e0c2796549c1db4ac3.tar.gz
Fix C source gen.
Diffstat (limited to 'tools/niminst')
-rw-r--r--tools/niminst/niminst.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim
index e7e978dc0..76f384fc1 100644
--- a/tools/niminst/niminst.nim
+++ b/tools/niminst/niminst.nim
@@ -486,7 +486,7 @@ proc deduplicateFiles(c: var ConfigData) =
       if c.explicitPlatforms and not c.platforms[osA][cpuA]: continue
       for dup in mitems(c.cfiles[osA][cpuA]):
         let key = $secureHashFile(build / dup)
-        let val = build / buildDir(osA, cpuA) / extractFilename(dup)
+        let val = buildDir(osA, cpuA) / extractFilename(dup)
         let orig = tab.getOrDefault(key)
         if orig.len > 0:
           # file is identical, so delete duplicate: