From 4ca62759c64d5f3168457391639cb5e9cd83d82f Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Mon, 6 Nov 2023 15:36:14 +0100 Subject: [PATCH] Simplify getting tag from remaining arguments. --- tooling/release_download_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tooling/release_download_test.sh b/tooling/release_download_test.sh index e066a3a6f3..00da2208cc 100755 --- a/tooling/release_download_test.sh +++ b/tooling/release_download_test.sh @@ -109,8 +109,8 @@ if [ $# -ne "1" ]; then usage fi -# shellcheck disable=SC2124 -TAG=${@:1:1} +# the tag should be the remaining argument +TAG=${1} if [ -z "${TAG-}" ]; then usage