From 5aa4752b153ab3b74934a49ada424dd16bcb8c6a Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Fri, 18 Mar 2016 13:48:38 +0200 Subject: [PATCH] Fixed cygwin stub --- src/nimble.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimble.nim b/src/nimble.nim index 2e604ac..cecd80e 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -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: