Fixed cygwin stub

This commit is contained in:
Yuriy Glukhov 2016-03-18 13:48:38 +02:00
commit 5aa4752b15

View file

@ -439,7 +439,7 @@ proc installFromDir(dir: string, latest: bool, options: Options,
# For bash on Windows (Cygwin/Git bash).
let bashDest = dest.changeFileExt("")
echo("Creating Cygwin stub: ", pkgDestDir / bin, " -> ", bashDest)
writeFile(bashDest, "\"" & pkgDestDir / bin & "\" \"$@\"\n")
writeFile(bashDest, "\"$(cygpath '" & pkgDestDir / bin & "')\" \"$@\"\l")
else:
{.error: "Sorry, your platform is not supported.".}
else: