mirror of
https://github.com/curl/curl.git
synced 2026-01-26 06:57:57 +00:00
verify-release: update to avoid shellcheck warning SC2034
``` SC2034: dl appears unused ``` Also to shorten the code. Closes #19449
This commit is contained in:
parent
77be4a7ab2
commit
a8e46c5ab1
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user