aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_app_discover.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-01-10 19:42:49 -0600
committerTristan Sloughter <[email protected]>2015-01-10 21:46:33 -0600
commit05adf1f78a776406f19774de51ab42dfbd7da7ad (patch)
tree7e82f8c938fcba4c642490e38900cc6fbe6be5fb /src/rlx_prv_app_discover.erl
parentc215312707728f0b50f4dd71e7ac9b4305850bad (diff)
downloadrelx-05adf1f78a776406f19774de51ab42dfbd7da7ad.tar.gz
relx-05adf1f78a776406f19774de51ab42dfbd7da7ad.tar.bz2
relx-05adf1f78a776406f19774de51ab42dfbd7da7ad.zip
remove system libs from tarball if set to false
Diffstat (limited to 'src/rlx_prv_app_discover.erl')
-rw-r--r--src/rlx_prv_app_discover.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_prv_app_discover.erl b/src/rlx_prv_app_discover.erl
index b5226ad..607ddd2 100644
--- a/src/rlx_prv_app_discover.erl
+++ b/src/rlx_prv_app_discover.erl
@@ -120,8 +120,8 @@ add_common_project_dirs(State) ->
-spec add_system_lib_dir(rlx_state:t()) -> [file:name()].
add_system_lib_dir(State) ->
ExcludeSystem = rlx_state:get(State, discover_exclude_system, false),
- case rlx_state:get(State, system_libs, undefined) of
- undefined ->
+ case rlx_state:get(State, system_libs, true) of
+ Atom when is_atom(Atom) ->
case ExcludeSystem of
true ->
[];