summaryrefslogtreecommitdiff
path: root/src/rebar.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar.erl')
-rw-r--r--src/rebar.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar.erl b/src/rebar.erl
index 797f71a..c0c6c97 100644
--- a/src/rebar.erl
+++ b/src/rebar.erl
@@ -99,7 +99,7 @@ run_aux(Commands) ->
erlang:put(operations, 0),
%% If $HOME/.rebar/config exists load and use as global config
- GlobalConfigFile = filename:join(os:getenv("HOME"), ".rebar/config"),
+ GlobalConfigFile = filename:join([os:getenv("HOME"), ".rebar", "config"]),
GlobalConfig = case filelib:is_regular(GlobalConfigFile) of
true ->
?DEBUG("Load global config file ~p~n",