From 35d9a38173be899c1b05b5f68433d5b8fc86f00a Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Wed, 15 Jan 2025 15:55:31 +0530 Subject: [PATCH] fix: avoid use of mapfile builtin --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 30cccd92..0ed30d76 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ update-fdroid-repo: done - | - mapfile -t apk_files < <(find "$REPO_DIR" -name "*.apk") + apk_files=($REPO_DIR/*.apk) IFS=":" read -r vercode vername <<< "$($CI_PROJECT_DIR/scripts/get_latest_version.py "${apk_files[@]}")" sed -i \ -e "s/CurrentVersion: .*/CurrentVersion: \"$vername\"/" \