From: Milan Zamazal Date: Wed, 15 Feb 2023 21:21:58 +0000 (+0000) Subject: curl-wget-check X-Git-Tag: archive/raspbian/15.1-4+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=275647ef8d6ab7a40846a9db5cb08b81537e1cd9;p=stockfish.git curl-wget-check =================================================================== Gbp-Pq: Name curl-wget-check.patch --- diff --git a/src/Makefile b/src/Makefile index db48421..a59a164 100644 --- a/src/Makefile +++ b/src/Makefile @@ -848,9 +848,6 @@ net: $(eval nnuedownloadurl1 := https://tests.stockfishchess.org/api/nn/$(nnuenet)) $(eval nnuedownloadurl2 := https://github.com/official-stockfish/networks/raw/master/$(nnuenet)) $(eval curl_or_wget := $(shell if hash curl 2>/dev/null; then echo "curl -skL"; elif hash wget 2>/dev/null; then echo "wget -qO-"; fi)) - @if [ "x$(curl_or_wget)" = "x" ]; then \ - echo "Automatic download failed: neither curl nor wget is installed. Install one of these tools or download the net manually"; exit 1; \ - fi $(eval shasum_command := $(shell if hash shasum 2>/dev/null; then echo "shasum -a 256 "; elif hash sha256sum 2>/dev/null; then echo "sha256sum "; fi)) @if [ "x$(shasum_command)" = "x" ]; then \ echo "shasum / sha256sum not found, skipping net validation"; \