Make SVN version matching locale agnostic

Reported-by: Manuel Duran Aguete <manuel@aguete.org>
This commit is contained in:
Tuncer Ayaz 2010-10-02 18:54:04 +02:00
parent 5f56f071ea
commit 0a05775eed

View file

@ -327,4 +327,4 @@ scm_client_vsn(git) ->
scm_client_vsn(bzr) ->
scm_client_vsn(rebar_utils:find_executable("bzr"), " --version", "Bazaar \\(bzr\\) (\\d+).(\\d+)");
scm_client_vsn(svn) ->
scm_client_vsn(rebar_utils:find_executable("svn"), " --version", "svn, version (\\d+).(\\d+)").
scm_client_vsn(rebar_utils:find_executable("svn"), " --version", "svn, \\w+ (\\d+).(\\d+)").