From 2829741a38e151d8d3e170019c49d7091e20a89f Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 28 Sep 2012 23:37:18 +0200 Subject: [PATCH] Fix whitespace errors --- src/rebar_deps.erl | 3 ++- src/rebar_utils.erl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl index 7be45c7..cac4188 100644 --- a/src/rebar_deps.erl +++ b/src/rebar_deps.erl @@ -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; diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index c040d79..1049c1d 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -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.