diff options
author | Tristan Sloughter <[email protected]> | 2013-09-20 19:49:28 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-09-20 21:55:29 -0500 |
commit | 21056c6af7e0be26f49ed3c72fe297c56a2737bc (patch) | |
tree | da263680b3ecb28ff8723e4ac0ca4a0e5b99b92f /src/rlx_prv_discover.erl | |
parent | 2ef124bf890d98a4b71cafd89c280c8c084bc300 (diff) | |
download | relx-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.erl | 6 |
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), |