diff options
| author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-08-20 18:20:07 +0200 | 
|---|---|---|
| committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-08-20 18:26:59 +0200 | 
| commit | 8fb385f31240fe1fded07bd3468b21aa10c19be9 (patch) | |
| tree | 9199c65aa5d8f0fb7537fdca92dbaf076c41fb0f | |
| parent | 7ec9b48d5036515b6d93b0999f6fc1911072309c (diff) | |
Limit line length
| -rw-r--r-- | src/rebar_port_compiler.erl | 6 | ||||
| -rw-r--r-- | src/rebar_utils.erl | 6 | 
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) -> | 
