From 440fa6bd319663cd50040581b3ad98bf9b5a0a23 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sun, 29 Jan 2012 17:55:30 +0100 Subject: [PATCH] Only print sh/2 options on debug log level --- src/rebar_utils.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index f6e3a02..72e6efa 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -88,8 +88,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", [get_cwd(), Command0]), + ?DEBUG("\topts: ~p\n", [Options0]), DefaultOptions = [use_stdout, abort_on_error], Options = [expand_sh_flag(V)