From: Yann E. MORIN Date: Tue, 31 Mar 2015 22:15:07 +0000 (+0200) Subject: support/download: warn when there's no .hash file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6b833e7bc7742e64cdde599c341bff787a888d4;p=buildroot.git support/download: warn when there's no .hash file Instead of silently accepting a missing .hash file, print a warning. This can be grepped from a build log, to find packages that still have no hash, with the long-term goal of adding hashes for all packages. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Reviewed-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/support/download/check-hash b/support/download/check-hash index 13a76b8df5..3483077c55 100755 --- a/support/download/check-hash +++ b/support/download/check-hash @@ -33,6 +33,7 @@ base="${3}" # Does the hash-file exist? if [ -z "${h_file}" -o ! -f "${h_file}" ]; then + printf "WARNING: no hash file for %s\n" "${base}" >&2 exit 0 fi