From b7c1c3ba6a7dc3831bea0e16de801049105abaf3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 25 Oct 2014 01:42:49 +0200 Subject: [PATCH] check-hash: silence hash ok messages when make -s is used Similar to what we do for apply-patches.sh Signed-off-by: Peter Korsgaard --- package/pkg-download.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-download.mk b/package/pkg-download.mk index 0cf0b63d81..f3409bd46e 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -63,7 +63,7 @@ github = https://github.com/$(1)/$(2)/archive/$(3) # $(1): the path to the file with the hashes # $(2): the full path to the file to check define VERIFY_HASH - if ! support/download/check-hash $(1) $(2); then \ + if ! support/download/check-hash $(1) $(2) $(if $(QUIET),>/dev/null); then \ rm -f $(2); \ exit 1; \ fi