From: Yann E. MORIN Date: Fri, 3 Apr 2015 12:19:58 +0000 (+0200) Subject: support/download: quick fix to avoid breaking on custom toolchains X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=209b75499657a7eb803ba8edcff6701341401b4b;p=buildroot.git 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" Cc: Thomas Petazzoni Cc: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- 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