evanmiller/ChicagoBoss — Issue #82: rebar_plugin windows paths issue
Author: hirschenberger
Created: 2012-02-21 14:26:10+00:00
State: open

Hi, there's an issue with the pathname comparison here

https://github.com/evanmiller/ChicagoBoss/blob/master/skel/priv/rebar/boss_plugin.erl#L130

```erlang
is_base_dir() ->
rebar_utils:get_cwd() == rebar_config:get_global(base_dir, undefined).
```

I get drive letters one in upper- and one in lowercase and the comparison fails. So the whole build-process fails.
I resolved the issue for myself by wrapping the two strings in `filename:nativename()` but I'm not sure if this is a proper solution.