diff options
author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2014-12-17 17:00:18 -0600 |
---|---|---|
committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2014-12-17 17:00:18 -0600 |
commit | 0374200e582641071d8bb805cf015ee0be4f3ff1 (patch) | |
tree | a62a12a8e6bf40063f8dff2c8ea31abb992411d1 /src | |
parent | b29631bd92a1ed2dc105e2969faed3e59905ed9f (diff) | |
parent | fac7b627f593ffcdce9f9346b369fcffefff6e20 (diff) |
Merge pull request #65 from fishcakez/plt_copy_lib
Ensure dir for plt exists when copying.
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_dialyzer.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index 8ef5b50..242890a 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -276,6 +276,7 @@ build_proj_plt(State, Plt, Files) -> BaseFiles = get_base_plt_files(State), {ok, State1} = update_base_plt(State, BasePlt, BaseFiles), ?INFO("Copying ~p to ~p...", [BasePlt, Plt]), + _ = filelib:ensure_dir(Plt), case file:copy(BasePlt, Plt) of {ok, _} -> check_plt(State1, Plt, BaseFiles, Files); |