summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-09-17 19:14:53 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-09-17 19:14:53 -0500
commit1d842d501839cae1a42ed5eef75d67290f2dc945 (patch)
tree0286c78fe2e430fa3e19c43e4468f8a6590abe89
parent19fbaa0a610bb0cb470d2922f1adc30cbbe719eb (diff)
parent731916870d93141da35278ad4f5fe4c46072fdde (diff)
Merge pull request #813 from jbalint/master
Fix parsing of version #'s of dependencies
-rw-r--r--src/rebar_pkg_resource.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_pkg_resource.erl b/src/rebar_pkg_resource.erl
index f456587..6524d90 100644
--- a/src/rebar_pkg_resource.erl
+++ b/src/rebar_pkg_resource.erl
@@ -176,7 +176,7 @@ check_ssl_version() ->
end.
parse_vsn(Vsn) ->
- version_pad(string:tokens(Vsn, ".")).
+ version_pad(string:tokens(Vsn, ".-")).
version_pad([Major]) ->
{list_to_integer(Major), 0, 0};