Browse Source

Fix parsing of version #'s of dependencies

Version #'s with patch info like "1.1.1-x" would cause an error. Now
tokenize the version string with "." AND "-".
pull/813/head
Jess Balint 9 years ago
parent
commit
731916870d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_pkg_resource.erl

+ 1
- 1
src/rebar_pkg_resource.erl View File

@ -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};

Loading…
Cancel
Save