Merge pull request #279 from crohlfs/master
Fix issues with spaces in bin path
This commit is contained in:
commit
0d15faeef1
1 changed files with 2 additions and 2 deletions
|
|
@ -317,7 +317,7 @@ proc buildFromDir(pkgInfo: PackageInfo, paths: seq[string], forRelease: bool) =
|
||||||
createDir(outputDir)
|
createDir(outputDir)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
doCmd(getNimBin() & " $# $# --noBabelPath $# $# \"$#\"" %
|
doCmd("\"" & getNimBin() & "\" $# $# --noBabelPath $# $# \"$#\"" %
|
||||||
[pkgInfo.backend, releaseOpt, args, outputOpt,
|
[pkgInfo.backend, releaseOpt, args, outputOpt,
|
||||||
realDir / bin.changeFileExt("nim")])
|
realDir / bin.changeFileExt("nim")])
|
||||||
except NimbleError:
|
except NimbleError:
|
||||||
|
|
@ -628,7 +628,7 @@ proc compile(options: Options) =
|
||||||
|
|
||||||
echo("Compiling ", bin, " (", pkgInfo.name, ") using ", backend,
|
echo("Compiling ", bin, " (", pkgInfo.name, ") using ", backend,
|
||||||
" backend...")
|
" backend...")
|
||||||
doCmd(getNimBin() & " $# --noBabelPath $# \"$#\"" %
|
doCmd("\"" & getNimBin() & "\" $# --noBabelPath $# \"$#\"" %
|
||||||
[backend, args, bin])
|
[backend, args, bin])
|
||||||
|
|
||||||
proc search(options: Options) =
|
proc search(options: Options) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue