aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2013-10-15 10:11:10 -0700
committerJordan Wilberding <[email protected]>2013-10-15 10:11:10 -0700
commita54bb2bd0c8f540a7bed3b3aa7e6732b131d7bb4 (patch)
treed415af78f3256588d71f41f400baa1d5f8a7c3eb /src
parent73502b0c33811455e0bbabc2692de191ddc5fc65 (diff)
parent4702fd6e7a957d8161e434baa20038b898f2e52f (diff)
downloadrelx-a54bb2bd0c8f540a7bed3b3aa7e6732b131d7bb4.tar.gz
relx-a54bb2bd0c8f540a7bed3b3aa7e6732b131d7bb4.tar.bz2
relx-a54bb2bd0c8f540a7bed3b3aa7e6732b131d7bb4.zip
Merge pull request #72 from tsloughter/master
ignore empty list of overlay vars to fix unneeded warning
Diffstat (limited to 'src')
-rw-r--r--src/rlx_prv_overlay.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rlx_prv_overlay.erl b/src/rlx_prv_overlay.erl
index a749ce5..a7a484f 100644
--- a/src/rlx_prv_overlay.erl
+++ b/src/rlx_prv_overlay.erl
@@ -105,6 +105,8 @@ get_overlay_vars_from_file(State, OverlayVars) ->
case rlx_state:get(State, overlay_vars, undefined) of
undefined ->
do_overlay(State, OverlayVars);
+ [] ->
+ do_overlay(State, OverlayVars);
[H | _]=FileNames when is_list(H) ->
read_overlay_vars(State, OverlayVars, FileNames);
FileName when is_list(FileName) ->