From 871a2c90b4926bdaa78aa18077a6cd8b20f589f6 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Sat, 5 Oct 2013 19:01:48 +0100 Subject: [PATCH] Fixed directories with spaces causing problems during builds. --- babel.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.nim b/babel.nim index 14e044f..709e87b 100644 --- a/babel.nim +++ b/babel.nim @@ -217,7 +217,7 @@ proc buildFromDir(pkgInfo: TPackageInfo, paths: seq[string]) = for bin in pkgInfo.bin: echo("Building ", pkginfo.name, "/", bin, " using ", pkgInfo.backend, " backend...") - doCmd("nimrod $# -d:release $#" % + doCmd("nimrod $# -d:release \"$#\"" % [pkgInfo.backend, args & realDir / bin.changeFileExt("nim")]) proc installFromDir(dir: string, latest: bool): string =