mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix whitespace errors
This commit is contained in:
parent
6d52a4aeb4
commit
2829741a38
2 changed files with 4 additions and 2 deletions
|
@ -486,7 +486,8 @@ source_engine_avail(Source) ->
|
||||||
source_engine_avail(Name, Source).
|
source_engine_avail(Name, Source).
|
||||||
|
|
||||||
source_engine_avail(Name, Source)
|
source_engine_avail(Name, Source)
|
||||||
when Name == hg; Name == git; Name == svn; Name == bzr; Name == rsync; Name == fossil ->
|
when Name == hg; Name == git; Name == svn; Name == bzr; Name == rsync;
|
||||||
|
Name == fossil ->
|
||||||
case vcs_client_vsn(Name) >= required_vcs_client_vsn(Name) of
|
case vcs_client_vsn(Name) >= required_vcs_client_vsn(Name) of
|
||||||
true ->
|
true ->
|
||||||
true;
|
true;
|
||||||
|
|
|
@ -356,7 +356,8 @@ patch_on_windows(Cmd, Env) ->
|
||||||
expand_env_variable(Acc, Key, Value)
|
expand_env_variable(Acc, Key, Value)
|
||||||
end, Cmd, Env),
|
end, Cmd, Env),
|
||||||
%% Remove left-over vars
|
%% Remove left-over vars
|
||||||
re:replace(Cmd1, "\\\$\\w+|\\\${\\w+}", "", [global, {return, list}]);
|
re:replace(Cmd1, "\\\$\\w+|\\\${\\w+}", "",
|
||||||
|
[global, {return, list}]);
|
||||||
_ ->
|
_ ->
|
||||||
Cmd
|
Cmd
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in a new issue