Fix whitespace errors

This commit is contained in:
Tuncer Ayaz 2012-09-28 23:37:18 +02:00
parent 6d52a4aeb4
commit 2829741a38
2 changed files with 4 additions and 2 deletions

View file

@ -486,7 +486,8 @@ source_engine_avail(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
true ->
true;

View file

@ -356,7 +356,8 @@ patch_on_windows(Cmd, Env) ->
expand_env_variable(Acc, Key, Value)
end, Cmd, Env),
%% Remove left-over vars
re:replace(Cmd1, "\\\$\\w+|\\\${\\w+}", "", [global, {return, list}]);
re:replace(Cmd1, "\\\$\\w+|\\\${\\w+}", "",
[global, {return, list}]);
_ ->
Cmd
end.