diff options
author | Tristan Sloughter <[email protected]> | 2013-09-18 20:49:38 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-09-19 20:26:25 -0500 |
commit | c0a18117ddaff70e93411df060e1d7c7d1ad1b92 (patch) | |
tree | 7b521174bcd7ddf731b54b52cf04adeded7c3f86 /src/rlx_state.erl | |
parent | 0d1dfed1ac0a1868d943e0174fce9f8bf49e448b (diff) | |
download | relx-c0a18117ddaff70e93411df060e1d7c7d1ad1b92.tar.gz relx-c0a18117ddaff70e93411df060e1d7c7d1ad1b92.tar.bz2 relx-c0a18117ddaff70e93411df060e1d7c7d1ad1b92.zip |
add -p for setting code paths
Diffstat (limited to 'src/rlx_state.erl')
-rw-r--r-- | src/rlx_state.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_state.erl b/src/rlx_state.erl index 138705c..b35baf3 100644 --- a/src/rlx_state.erl +++ b/src/rlx_state.erl @@ -177,7 +177,7 @@ lib_dirs(#state_t{lib_dirs=LibDir}) -> -spec add_lib_dirs(t(), [file:name()]) -> t(). add_lib_dirs(State=#state_t{lib_dirs=LibDir}, Dirs) -> - State#state_t{lib_dirs=lists:merge(lists:sort(LibDir), lists:sort(Dirs))}. + State#state_t{lib_dirs=lists:umerge(lists:sort(LibDir), lists:sort(Dirs))}. -spec goals(t()) -> [rlx_depsolver:constraint()]. goals(#state_t{goals=TS}) -> |