diff options
author | José Valim <[email protected]> | 2013-11-18 10:28:39 +0100 |
---|---|---|
committer | José Valim <[email protected]> | 2013-11-18 10:42:15 +0100 |
commit | 73b24fd1a0604e413fece30181cc632c1081aa29 (patch) | |
tree | 06371825a8876bc8d19e10755241510b341bbb02 /src/rlx_prv_config.erl | |
parent | 10620765c5028c24d57caba20b8e86b98351e3a5 (diff) | |
download | relx-73b24fd1a0604e413fece30181cc632c1081aa29.tar.gz relx-73b24fd1a0604e413fece30181cc632c1081aa29.tar.bz2 relx-73b24fd1a0604e413fece30181cc632c1081aa29.zip |
Support wildcards in lib dirs
Wildcards are supported in both lib_dirs in config files
as well via the -l command line option.
Diffstat (limited to 'src/rlx_prv_config.erl')
-rw-r--r-- | src/rlx_prv_config.erl | 2 |
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), |