aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-01-04 19:10:14 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-05 15:15:09 +0100
commit4bf1174a83274df22423e6a68f0abe98acf3adfc (patch)
tree65bfab4d5736a9c5bef854dd82212c65e5b6f933 /support
parent2d87be6f1c6bf2dbad9e8903f9c2f1f410d35c6c (diff)
downloadbuildroot-4bf1174a83274df22423e6a68f0abe98acf3adfc.tar.gz
buildroot-4bf1174a83274df22423e6a68f0abe98acf3adfc.tar.bz2
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 <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Fabio Porcedda <fabio.porcedda@gmail.com> Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/download/git2
1 files changed, 1 insertions, 1 deletions
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