From 2dd92cdd10b51fbb2a8deb7f4b14070389e53632 Mon Sep 17 00:00:00 2001 From: Leorize Date: Wed, 26 Jan 2022 12:20:26 -0600 Subject: [PATCH] niminst: set default path for binary to bin/ This is used by csources builder to know where to put its binary. Defaults to the bin/ folder relative to the source. Without this, the generated csources will not be built due to missing output folder. --- tools/niminst/niminst.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim index a87f10335eb..8d453089197 100644 --- a/tools/niminst/niminst.nim +++ b/tools/niminst/niminst.nim @@ -114,7 +114,7 @@ func iniConfigData(c: var ConfigData) = func firstBinPath(c: ConfigData): string = if c.binPaths.len > 0: result = c.binPaths[0] - else: result = "" + else: result = "bin" func `\`(a, b: string): string = result = if a.len == 0: b else: a & '\\' & b