emezeske / lein-cljsbuild

Leiningen plugin to make ClojureScript development easy.
Other
1.1k stars 151 forks source link

path building bug (WSL?) #464

Closed Testare closed 7 years ago

Testare commented 7 years ago

When using lein-cljsbuild on Bash on Ubuntu on Windows (The Windows Subsystem for Linux), running "lein cljsbuild once" seems to have a bug when "output-dir" is not specified, creating a file that requires an absolute path in the middle of an already absolute path making a garbage path. I don't know if this is specific to WSL, but I suspect it might be if it hasn't been reported as an obvious bug yet.

I've created a git repository to show-case the bug.

https://github.com/Testare/cljsbuild-wsl-bug

Currently simply specifying an output-dir will cause the code to work fine though, as far as I can tell.

danielcompton commented 7 years ago

Does this happen with Powershell or Batch?