summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlas Johansson <klas.johansson@gmail.com>2010-06-19 10:08:34 +0200
committerKlas Johansson <klas.johansson@gmail.com>2010-06-19 10:08:34 +0200
commit4dae6318aaa279345c707c2bb563d1ad45183aa9 (patch)
tree58813bf47a1dceab42c270fd6107385f4f9af2b7
parentb5d6fed2f671eb6b71012e5abfeb3cd088b3827e (diff)
Bugfix call to lists:member/2 in ulist/2
Change from lists:is_member/2 to lists:member/2, since the former doesn't exist (the bug only affects rebar_plugins).
-rw-r--r--src/rebar_core.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 6a825d6..465496e 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -462,7 +462,7 @@ ulist(L) ->
ulist([], Acc) ->
lists:reverse(Acc);
ulist([H | T], Acc) ->
- case lists:is_member(H, Acc) of
+ case lists:member(H, Acc) of
true ->
ulist(T, Acc);
false ->