From d07bd2d71e194a3ed1c0bd5eec9537db26b0bf3f Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Sat, 20 Jun 2020 22:06:02 -0500 Subject: [PATCH] findExe sanitizePath --- nimterop/build/shell.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimterop/build/shell.nim b/nimterop/build/shell.nim index 4f3c316..235f7b5 100644 --- a/nimterop/build/shell.nim +++ b/nimterop/build/shell.nim @@ -86,7 +86,7 @@ proc findExe*(exe: string): string = (output, ret) = execAction(cmd, die = false) if ret == 0: - return output.splitLines()[0].strip() + return output.splitLines()[0].strip().sanitizePath proc mkDir*(dir: string) = ## Create a directory at compile time