aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_app_discover.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-12-24 14:15:48 -0600
committerTristan Sloughter <[email protected]>2014-12-24 14:16:48 -0600
commite6344b033ddad5681b04e8492df019de5ef92a50 (patch)
treea6d72b4eb0391479931fb0f3506ec9dad3964bff /src/rlx_prv_app_discover.erl
parent8a64fd860e354cd3c32b5d6471052314bdd50674 (diff)
downloadrelx-e6344b033ddad5681b04e8492df019de5ef92a50.tar.gz
relx-e6344b033ddad5681b04e8492df019de5ef92a50.tar.bz2
relx-e6344b033ddad5681b04e8492df019de5ef92a50.zip
only unique lib dirs should be used to save time/confusion
Diffstat (limited to 'src/rlx_prv_app_discover.erl')
-rw-r--r--src/rlx_prv_app_discover.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_prv_app_discover.erl b/src/rlx_prv_app_discover.erl
index 8e2bd24..9a5da4d 100644
--- a/src/rlx_prv_app_discover.erl
+++ b/src/rlx_prv_app_discover.erl
@@ -55,7 +55,7 @@ init(State) ->
%% looking for OTP Applications
-spec do(rlx_state:t()) -> {ok, rlx_state:t()} | relx:error().
do(State0) ->
- LibDirs = get_lib_dirs(State0),
+ LibDirs = lists:usort(get_lib_dirs(State0)),
case rlx_app_discovery:do(State0, LibDirs) of
{ok, AppMeta} ->
State1 = rlx_state:available_apps(State0, AppMeta),