From: Viktor Szakats Date: Mon, 10 Nov 2025 14:08:19 +0000 (+0100) Subject: verify-release: update to avoid shellcheck warning SC2034 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8e46c5ab1d9c0eda0536260c8ef0ea8fa745226;p=thirdparty%2Fcurl.git verify-release: update to avoid shellcheck warning SC2034 ``` SC2034: dl appears unused ``` Also to shorten the code. Closes #19449 --- diff --git a/scripts/verify-release b/scripts/verify-release index 2f7a0bf89f..b24d9b370d 100755 --- a/scripts/verify-release +++ b/scripts/verify-release @@ -40,12 +40,7 @@ if [ -z "$tarball" ]; then exit fi -i="0" - -# shellcheck disable=SC2034 -for dl in curl-*; do - i=$((i + 1)) -done +i="$(find . -maxdepth 1 -type d -name 'curl-*' | wc -l)" if test "$i" -gt 1; then echo "multiple curl-* entries found, disambiguate please"