Merge pull request #218 from yglukhov/cygwin-stub-fix
Fixed cygwin stub
This commit is contained in:
commit
cdc81f3371
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue