diff options
| author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-04-01 00:15:07 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-03 14:08:54 +0200 |
| commit | b6b833e7bc7742e64cdde599c341bff787a888d4 (patch) | |
| tree | 79765898f9229d8566b3c802ba2598e941c044e9 /support | |
| parent | 327531543288ac17690a36f3d4f2800f2ecc2362 (diff) | |
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" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
| -rwxr-xr-x | support/download/check-hash | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/support/download/check-hash b/support/download/check-hash index 13a76b8df..3483077c5 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 |
