fix argument iteration

This commit is contained in:
2026-08-22 05:48:23 +02:00
parent 6b2847fec7
commit 32e88beedc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ function download_files() {
local query_params=''
[ -n "$GIT_TAG" ] && query_params="?ref=$GIT_TAG"
while [ -n "$1" ]; do
while (( $# > 0 )); do
path=$1
shift
curl -s --output-dir "$TMPDIR/" --remote-name "$API_ENDPOINT/raw/$path$query_params"