Limit line length

This commit is contained in:
Tuncer Ayaz 2011-08-20 18:20:07 +02:00
parent 7ec9b48d50
commit 8fb385f312
2 changed files with 7 additions and 5 deletions

View file

@ -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,

View file

@ -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) ->