summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-01-24 13:15:05 -0600
committerTristan Sloughter <t@crashfast.com>2015-01-24 13:15:39 -0600
commitd5552cfcd3b4cba40eb6ea6b6cfed66352b8061b (patch)
treef9b8585186d076c730a5d8bdda83114ab8edb25f /src
parent3a7490aa9f9501cd9e7f64b7b67e7853eac8e932 (diff)
ignore opts list in src dep is it is there
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_install_deps.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl
index d3eb306..8246f10 100644
--- a/src/rebar_prv_install_deps.erl
+++ b/src/rebar_prv_install_deps.erl
@@ -425,6 +425,9 @@ parse_dep({Name, Source}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tupl
parse_dep({Name, _Vsn, Source}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source) ->
Dep = new_dep(DepsDir, Name, [], Source, State),
{[Dep | SrcDepsAcc], PkgDepsAcc};
+parse_dep({Name, _Vsn, Source, _Opts}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source) ->
+ Dep = new_dep(DepsDir, Name, [], Source, State),
+ {[Dep | SrcDepsAcc], PkgDepsAcc};
parse_dep({Name, Source, Level}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source)
, is_integer(Level) ->
Dep = new_dep(DepsDir, Name, [], Source, State),