From: Yann E. MORIN Date: Sun, 4 Jan 2015 18:10:14 +0000 (+0100) Subject: support/download: further silence the git helper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bf1174a83274df22423e6a68f0abe98acf3adfc;p=buildroot.git support/download: further silence the git helper We expresely call printf in the git helper, calls which were not addresed in the previous silent-build patchset. Just redirect stdout to oblivion when being silent. Reported-by: Thomas Petazzoni Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Acked-by: Fabio Porcedda Tested-by: Fabio Porcedda Signed-off-by: Thomas Petazzoni --- diff --git a/support/download/git b/support/download/git index 7f1801fbf1..73cbc0f7d1 100755 --- a/support/download/git +++ b/support/download/git @@ -14,7 +14,7 @@ set -e verbose=-v while getopts :q OPT; do case "${OPT}" in - q) verbose=-q;; + q) verbose=-q; exec >/dev/null;; \?) printf "unknown option '%s'\n" "${OPTARG}" >&2; exit 1;; esac done