aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_app_discover.erl
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2015-01-14 16:26:07 -0800
committerJordan Wilberding <[email protected]>2015-01-14 16:26:07 -0800
commit9fc9a2f6556d8e86633c87a29db7dc9419005c48 (patch)
tree7770c070a3140fa288f5c89300d4845cec71802d /src/rlx_prv_app_discover.erl
parentab85c2365ad346d77aa425507df75733e4af01d8 (diff)
parent2dc924a4728177987c3e74f5c1e28d4b9fbc8e90 (diff)
downloadrelx-9fc9a2f6556d8e86633c87a29db7dc9419005c48.tar.gz
relx-9fc9a2f6556d8e86633c87a29db7dc9419005c48.tar.bz2
relx-9fc9a2f6556d8e86633c87a29db7dc9419005c48.zip
Merge pull request #294 from tsloughter/tar_system_libs
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 ->
[];