diff options
-rw-r--r-- | core/deps.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk index 6e463ac..2984aa2 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -326,7 +326,11 @@ define dep_autopatch_rebar.erl end end, SemVsn = fun - ("~> " ++ S) -> + ("~>" ++ S0) -> + S = case S0 of + " " ++ S1 -> S1; + _ -> S0 + end, case length([ok || $$. <- S]) of 0 -> S ++ ".0.0"; 1 -> S ++ ".0"; |