From 9f66913793ca8d4f220639f3be20cba3901773d7 Mon Sep 17 00:00:00 2001 From: itmodulo Date: Thu, 22 Feb 2024 21:34:47 +0100 Subject: [PATCH] Fix missing do in for --- .gitea/workflows/release_arm64v8.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release_arm64v8.yml b/.gitea/workflows/release_arm64v8.yml index 662cfef..c343ff4 100644 --- a/.gitea/workflows/release_arm64v8.yml +++ b/.gitea/workflows/release_arm64v8.yml @@ -45,7 +45,7 @@ jobs: su - runner -c 'echo ~' su - runner -c "curl --silent https://static.itmodulo.eu/dl/repo/alpine/latest-stable/main/aarch64/ | pup 'a text{}' | grep \.apk > ~/repo.txt" su - runner -c "touch ~/local.txt" - su - runner -c 'cd ~/srcpkgs; for i in ./* ; printf "%s-%s-r%s.apk\n" $(echo $i | cut -d '/' -f 2) $(cat $i/APKBUILD | grep pkgver | grep -v '\$' | cut -d '=' -f 2 ) $(cat $i/APKBUILD | grep pkgrel | grep -v '\$' | cut -d '=' -f 2 ) >> ~/local.txt; done' + su - runner -c 'cd ~/srcpkgs; for i in ./* ;do printf "%s-%s-r%s.apk\n" $(echo $i | cut -d '/' -f 2) $(cat $i/APKBUILD | grep pkgver | grep -v '\$' | cut -d '=' -f 2 ) $(cat $i/APKBUILD | grep pkgrel | grep -v '\$' | cut -d '=' -f 2 ) >> ~/local.txt; done' su - runner -c 'echo "LOCAL:"; cat ~/local.txt' su - runner -c "grep -Fvxf ~/repo.txt ~/local.txt > ~/missing.txt" su - runner -c 'echo "MISSING:"; cat ~/missing.txt'