aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_discover.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-09-20 19:49:28 -0500
committerTristan Sloughter <[email protected]>2013-09-20 21:55:29 -0500
commit21056c6af7e0be26f49ed3c72fe297c56a2737bc (patch)
treeda263680b3ecb28ff8723e4ac0ca4a0e5b99b92f /src/rlx_prv_discover.erl
parent2ef124bf890d98a4b71cafd89c280c8c084bc300 (diff)
downloadrelx-21056c6af7e0be26f49ed3c72fe297c56a2737bc.tar.gz
relx-21056c6af7e0be26f49ed3c72fe297c56a2737bc.tar.bz2
relx-21056c6af7e0be26f49ed3c72fe297c56a2737bc.zip
replace confusing disable-default-libs option with default-libs true or false
Diffstat (limited to 'src/rlx_prv_discover.erl')
-rw-r--r--src/rlx_prv_discover.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_prv_discover.erl b/src/rlx_prv_discover.erl
index 5e54828..4f297fe 100644
--- a/src/rlx_prv_discover.erl
+++ b/src/rlx_prv_discover.erl
@@ -75,10 +75,10 @@ add(Rel, Dict) ->
get_lib_dirs(State) ->
LibDirs0 = rlx_state:lib_dirs(State),
- case rlx_state:get(State, disable_default_libs, false) of
- true ->
- LibDirs0;
+ case rlx_state:get(State, default_libs, true) of
false ->
+ LibDirs0;
+ true ->
lists:flatten([LibDirs0,
add_common_project_dirs(State),
add_system_lib_dir(State),