parent
0564cb238a
commit
ec5b00318c
1 changed files with 1 additions and 1 deletions
|
|
@ -471,7 +471,7 @@ proc installFromDir(dir: string, latest: bool, options: Options,
|
||||||
# For bash on Windows (Cygwin/Git bash).
|
# For bash on Windows (Cygwin/Git bash).
|
||||||
let bashDest = dest.changeFileExt("")
|
let bashDest = dest.changeFileExt("")
|
||||||
echo("Creating Cygwin stub: ", pkgDestDir / bin, " -> ", bashDest)
|
echo("Creating Cygwin stub: ", pkgDestDir / bin, " -> ", bashDest)
|
||||||
writeFile(bashDest, "\"$(cygpath '" & pkgDestDir / bin & "')\" \"$@\"\l")
|
writeFile(bashDest, "\"" & pkgDestDir / bin & "\" \"$@\"\n")
|
||||||
else:
|
else:
|
||||||
{.error: "Sorry, your platform is not supported.".}
|
{.error: "Sorry, your platform is not supported.".}
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue