Fixed quotes in .bat file.
This commit is contained in:
parent
871a2c90b4
commit
d513450d8b
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ proc installFromDir(dir: string, latest: bool): string =
|
|||
elif defined(windows):
|
||||
let dest = binDir / bin.changeFileExt("bat")
|
||||
echo("Creating stub: ", pkgDestDir / bin, " -> ", dest)
|
||||
writeFile(dest, pkgDestDir / bin & " %*\n")
|
||||
writeFile(dest, "\"" & pkgDestDir / bin & "\" %*\n")
|
||||
else:
|
||||
{.error: "Sorry, your platform is not supported.".}
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue