mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix {git,Url} support (Reported-by: Garrett Smith)
This commit is contained in:
parent
7118ec6612
commit
45f44c2166
1 changed files with 5 additions and 1 deletions
|
@ -411,7 +411,11 @@ update_source(AppDir, {bzr, _Url, Rev}) ->
|
|||
%% Source helper functions
|
||||
%% ===================================================================
|
||||
|
||||
source_engine_avail({Name, _, _}=Source)
|
||||
source_engine_avail(Source) ->
|
||||
Name = element(1, Source),
|
||||
source_engine_avail(Name, Source).
|
||||
|
||||
source_engine_avail(Name, Source)
|
||||
when Name == hg; Name == git; Name == svn; Name == bzr ->
|
||||
case scm_client_vsn(Name) >= required_scm_client_vsn(Name) of
|
||||
true ->
|
||||
|
|
Loading…
Reference in a new issue