From b6b833e7bc7742e64cdde599c341bff787a888d4 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 1 Apr 2015 00:15:07 +0200 Subject: [PATCH] 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 --- support/download/check-hash | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2