aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_config.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-11-18 06:38:27 -0800
committerTristan Sloughter <[email protected]>2013-11-18 06:38:27 -0800
commite27e17ea3b0d9e9a83ca5084145edc99fd526444 (patch)
tree06371825a8876bc8d19e10755241510b341bbb02 /src/rlx_prv_config.erl
parent10620765c5028c24d57caba20b8e86b98351e3a5 (diff)
parent73b24fd1a0604e413fece30181cc632c1081aa29 (diff)
downloadrelx-e27e17ea3b0d9e9a83ca5084145edc99fd526444.tar.gz
relx-e27e17ea3b0d9e9a83ca5084145edc99fd526444.tar.bz2
relx-e27e17ea3b0d9e9a83ca5084145edc99fd526444.zip
Merge pull request #94 from josevalim/jv-expand-lib-dirs
Support wildcards in lib dirs
Diffstat (limited to 'src/rlx_prv_config.erl')
-rw-r--r--src/rlx_prv_config.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_prv_config.erl b/src/rlx_prv_config.erl
index 19aa576..aa2e79c 100644
--- a/src/rlx_prv_config.erl
+++ b/src/rlx_prv_config.erl
@@ -129,7 +129,7 @@ load_terms({paths, Paths}, {ok, State}) ->
load_terms({lib_dirs, Dirs}, {ok, State}) ->
State2 =
rlx_state:add_lib_dirs(State,
- [list_to_binary(filename:absname(Dir)) || Dir <- Dirs]),
+ [list_to_binary(Dir) || Dir <- rlx_util:wildcard_paths(Dirs)]),
{ok, State2};
load_terms({providers, Providers0}, {ok, State0}) ->
Providers1 = gen_providers(Providers0, State0),