diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-02-21 17:27:16 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-02-21 17:27:16 -0500 |
commit | 8988c9ff6c09da0e2e2e3b7285720e7dfe712730 (patch) | |
tree | 06c73f7b45512574b4761796b2c66125dacb2868 /src/rebar_prv_dialyzer.erl | |
parent | df30a93891fd85fcad566c100c53e463448662a1 (diff) | |
parent | 24383e228373d14c23c56225fe3e974dcbb0b43d (diff) |
Merge pull request #166 from tsloughter/xdg
follow xdg standard. fixes #122
Diffstat (limited to 'src/rebar_prv_dialyzer.erl')
-rw-r--r-- | src/rebar_prv_dialyzer.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index 240427b..24abc4f 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -311,8 +311,7 @@ build_proj_plt(State, Plt, Files) -> end. get_base_plt_location(State) -> - Home = rebar_dir:home_dir(), - GlobalConfigDir = filename:join(Home, ?CONFIG_DIR), + GlobalConfigDir = rebar_dir:global_config_dir(State), BaseDir = rebar_state:get(State, dialyzer_base_plt_dir, GlobalConfigDir), BasePlt = rebar_state:get(State, dialyzer_base_plt, default_plt()), filename:join(BaseDir, BasePlt). |