From a8e46c5ab1d9c0eda0536260c8ef0ea8fa745226 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 10 Nov 2025 15:08:19 +0100 Subject: [PATCH] verify-release: update to avoid shellcheck warning SC2034 ``` SC2034: dl appears unused ``` Also to shorten the code. Closes #19449 --- scripts/verify-release | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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"