Skip to content

Commit 4699a2a

Browse files
committed
Fix shellcheck
1 parent 16d97b2 commit 4699a2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dist/verify_checksums.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ do
7979

8080
if [ "${extension}" = "-py2.py3-none-any.whl" ]; then
8181
# Get the wheel full URL from PyPi Simple index
82-
pypi_url=$(curl -s ${PYPI_SIMPLE_URL} | grep ${file_name} | sed -n 's/.*href="\([^"]*\)".*/\1/p')
82+
pypi_url=$(curl -s ${PYPI_SIMPLE_URL} | grep "${file_name}" | sed -n 's/.*href="\([^"]*\)".*/\1/p')
8383
else
8484
pypi_url="${PYPI_MIRROR_URL_SOURCE}/${file_name}"
8585
fi

0 commit comments

Comments
 (0)