summaryrefslogtreecommitdiff
path: root/src/rebar_prv_clean.erl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-03-02 19:04:03 -0600
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-03-02 19:04:03 -0600
commitbaf46a861b18086131707d056ee106c9fba8da3d (patch)
treec0bc1de343e52f8385d9f1740e32df5e85dfa234 /src/rebar_prv_clean.erl
parent8affde1c37ba746df41343a52fd8e239ebfe2db3 (diff)
parentaf0f4bb20a66f1464fa25d31f9b69784f3119493 (diff)
Merge pull request #187 from tsloughter/profiles_dir
make base_dir for a run include the profiles in path, link to shared dep
Diffstat (limited to 'src/rebar_prv_clean.erl')
-rw-r--r--src/rebar_prv_clean.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_clean.erl b/src/rebar_prv_clean.erl
index ccd126b..d670e4d 100644
--- a/src/rebar_prv_clean.erl
+++ b/src/rebar_prv_clean.erl
@@ -72,7 +72,7 @@ clean_apps(State, Apps) ->
?INFO("Cleaning out ~s...", [rebar_app_info:name(AppInfo)]),
%% Legacy hook support
rebar_hooks:run_compile_hooks(AppDir, pre_hooks, clean, S),
- rebar_erlc_compiler:clean(State, ec_cnv:to_list(rebar_app_info:dir(AppInfo))),
+ rebar_erlc_compiler:clean(State, rebar_app_info:out_dir(AppInfo)),
rebar_hooks:run_compile_hooks(AppDir, post_hooks, clean, S)
end, Apps).