From 326ff70b572b18d5edfb6cdd30bb2da725290c7a Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Fri, 14 Oct 2022 22:24:43 +0200 Subject: fix: fix env var not being an env var --- pkgkit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgkit') diff --git a/pkgkit b/pkgkit index 735d177..60d1474 100755 --- a/pkgkit +++ b/pkgkit @@ -256,13 +256,13 @@ update_index() ( tmp_repo="/tmp/$aver/" path="$remote_path/$aver/$arch" - set -x # since my remote server is not alpine I have to download the repo localy rsync --blocking-io -rP \ "$remote:$path/" \ "$tmp_repo" - find "tmp_repo" -type f -name '*.apk' -print0 | + set -x + find "$tmp_repo" -type f -name '*.apk' -print0 | xargs -0 apk index \ --rewrite-arch "$(uname -m)" \ -x "$tmp_repo"/APKINDEX.tar.gz \ -- cgit v1.2.3