diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-04-03 14:19:58 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-03 14:21:47 +0200 |
commit | 209b75499657a7eb803ba8edcff6701341401b4b (patch) | |
tree | 7a84f461384a258045d8b0887afeff38f9b9306f /support | |
parent | 4a9a21b95c7c4793182e8e7f0e6b70d8221eef04 (diff) | |
download | buildroot-209b75499657a7eb803ba8edcff6701341401b4b.tar.gz buildroot-209b75499657a7eb803ba8edcff6701341401b4b.zip |
support/download: quick fix to avoid breaking on custom toolchains
When the user selects a custom toolchain to be downloaded, there's no
hash for that toolchain, so the download fails, now that hashes are
mandatory.
Fix that by simply exiting as if there was no error, until we have a
better fix...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
-rwxr-xr-x | support/download/check-hash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/download/check-hash b/support/download/check-hash index 3483077c55..67c1780112 100755 --- a/support/download/check-hash +++ b/support/download/check-hash @@ -96,5 +96,5 @@ done <"${h_file}" if [ ${nb_checks} -eq 0 ]; then printf "ERROR: No hash found for %s\n" "${base}" >&2 - exit 3 + exit 0 fi |