Revert "Fixed cygwin stub"

This reverts commit 5aa4752b15.

Refs #235.
This commit is contained in:
Dominik Picheta 2016-10-08 20:54:08 +02:00
commit ec5b00318c

View file

@ -471,7 +471,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, "\"$(cygpath '" & pkgDestDir / bin & "')\" \"$@\"\l")
writeFile(bashDest, "\"" & pkgDestDir / bin & "\" \"$@\"\n")
else:
{.error: "Sorry, your platform is not supported.".}
else: