summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-09-28 23:37:18 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-09-28 23:37:18 +0200
commit2829741a38e151d8d3e170019c49d7091e20a89f (patch)
tree1952885230aa04da6a0e6ccf73d9c97c8d1e3b99
parent6d52a4aeb41a11a624914bd05a772f4dfbc936d6 (diff)
Fix whitespace errors
-rw-r--r--src/rebar_deps.erl3
-rw-r--r--src/rebar_utils.erl3
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.