summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_port_compiler.erl6
-rw-r--r--src/rebar_utils.erl6
2 files changed, 7 insertions, 5 deletions
diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
index f036bdf..74be18c 100644
--- a/src/rebar_port_compiler.erl
+++ b/src/rebar_port_compiler.erl
@@ -248,7 +248,8 @@ apply_defaults(Vars, Defaults) ->
case is_expandable(DefaultValue) of
true ->
rebar_utils:expand_env_variable(DefaultValue,
- Key, VarValue);
+ Key,
+ VarValue);
false -> VarValue
end
end,
@@ -305,7 +306,8 @@ expand_vars(Key, Value, Vars) ->
Key ->
AValue;
_ ->
- rebar_utils:expand_env_variable(AValue, Key, Value)
+ rebar_utils:expand_env_variable(AValue,
+ Key, Value)
end,
[{AKey, NewValue} | Acc]
end,
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index 885049c..8db2df2 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -86,7 +86,8 @@ wordsize() ->
%% Val = string() | false
%%
sh(Command0, Options0) ->
- ?INFO("sh info:\n\tcwd: ~p\n\tcmd: ~s\n\topts: ~p\n", [get_cwd(), Command0, Options0]),
+ ?INFO("sh info:\n\tcwd: ~p\n\tcmd: ~s\n\topts: ~p\n",
+ [get_cwd(), Command0, Options0]),
DefaultOptions = [use_stdout, abort_on_error],
Options = [expand_sh_flag(V)
@@ -122,8 +123,7 @@ patch_on_windows(Cmd, Env) ->
_ ->
lists:foldl(fun({Key, Value}, Acc) ->
expand_env_variable(Acc, Key, Value)
- end,
- Cmd, Env)
+ end, Cmd, Env)
end.
find_files(Dir, Regex) ->