diff options
author | Loïc Hoguin <[email protected]> | 2020-02-11 11:14:58 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-02-11 11:15:36 +0100 |
commit | 7cc51c46fad1ee54a887da2163a4db788ed59af8 (patch) | |
tree | 4a3f3f8210f637a0851e052f1a325a4ef146eb3b | |
parent | 034582668fc5ac9c6c8d0fffaa845a635d1f71f3 (diff) | |
download | erlang.mk-7cc51c46fad1ee54a887da2163a4db788ed59af8.tar.gz erlang.mk-7cc51c46fad1ee54a887da2163a4db788ed59af8.tar.bz2 erlang.mk-7cc51c46fad1ee54a887da2163a4db788ed59af8.zip |
Add yet another dep spec format for rebar.config autopatch
Fixes partisan.
-rw-r--r-- | core/deps.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk index 8c5543a..56c1d1c 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -364,6 +364,7 @@ define dep_autopatch_rebar.erl [begin case case Dep of N when is_atom(N) -> GetHexVsn(N); {N, S} when is_atom(N), is_list(S) -> {N, {hex, SemVsn(S)}}; + {_, {pkg, N}} when is_atom(N) -> GetHexVsn(N); {_, S, {pkg, N}} -> {N, {hex, S}}; {N, S} when is_tuple(S) -> {N, S}; {N, _, S} -> {N, S}; |