mirror of
https://github.com/curl/curl.git
synced 2026-07-25 19:27:17 +03: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
1 changed files with 1 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue