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 <peter@korsgaard.com>
This commit is contained in:
parent
9a4e217b73
commit
b7c1c3ba6a
@ -63,7 +63,7 @@ github = https://github.com/$(1)/$(2)/archive/$(3)
|
|||||||
# $(1): the path to the file with the hashes
|
# $(1): the path to the file with the hashes
|
||||||
# $(2): the full path to the file to check
|
# $(2): the full path to the file to check
|
||||||
define VERIFY_HASH
|
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); \
|
rm -f $(2); \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user