From 3da0d408ff574f864b214969ba4d7566d473a321 Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 13 Jan 2023 21:26:28 -0500 Subject: [PATCH] Use curl for hash --- openwrtbuilder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index 1324036..56e5784 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -374,10 +374,10 @@ getImageBuilder() { debug "Verifying checksums" if [[ -f $SHA256_FILE ]] && askOk "$SHA256_FILE exists. Re-download?"; then - if ! $dl_tool -o "$SHA256_FILE" "$SHA256_URL"; then + if ! curl -so "$SHA256_FILE" "$SHA256_URL"; then debug "Failed to download checksum" fi - elif ! $dl_tool -o "$SHA256_FILE" "$SHA256_URL"; then + elif ! curl -so "$SHA256_FILE" "$SHA256_URL"; then debug "Failed to download checksum" fi