mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Only print sh/2 options on debug log level
This commit is contained in:
parent
194f3caa3f
commit
440fa6bd31
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ wordsize() ->
|
||||||
%% Val = string() | false
|
%% Val = string() | false
|
||||||
%%
|
%%
|
||||||
sh(Command0, Options0) ->
|
sh(Command0, Options0) ->
|
||||||
?INFO("sh info:\n\tcwd: ~p\n\tcmd: ~s\n\topts: ~p\n",
|
?INFO("sh info:\n\tcwd: ~p\n\tcmd: ~s\n", [get_cwd(), Command0]),
|
||||||
[get_cwd(), Command0, Options0]),
|
?DEBUG("\topts: ~p\n", [Options0]),
|
||||||
|
|
||||||
DefaultOptions = [use_stdout, abort_on_error],
|
DefaultOptions = [use_stdout, abort_on_error],
|
||||||
Options = [expand_sh_flag(V)
|
Options = [expand_sh_flag(V)
|
||||||
|
|
Loading…
Reference in a new issue