Browse Source

Support dialyzer plt paths having "~/" as a prefix

e.g. {dialyzer_opts, [{plt, "~/.dialyzer_plt.R14B"}]}.
pull/3/head
Joseph Wayne Norton 14 years ago
committed by Tuncer Ayaz
parent
commit
e36783112d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/rebar_dialyzer.erl

+ 2
- 0
src/rebar_dialyzer.erl View File

@ -193,6 +193,8 @@ existing_plt_path(Config, File) ->
?ABORT("No PLT found~n", []) ?ABORT("No PLT found~n", [])
end end
end; end;
[$~|[$/|Plt]] ->
filename:join(Home,Plt);
Plt -> Plt ->
Plt Plt
end. end.

Loading…
Cancel
Save