diff --git a/pkgkit b/pkgkit
index 735d1771910ccbd73fefe9c132df7bc665b3c8fe..60d147492c403acde56fb5e4ce01076d239e65b5 100755
--- a/pkgkit
+++ b/pkgkit
@@ -256,13 +256,13 @@
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 \