summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package11
1 files changed, 5 insertions, 6 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index 75e8dbb..906fcdf 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -410,12 +410,11 @@ case ${update_path} in
for config_name in ${config_names}; do
tar -c -C "${git_repo_path}/${repo}/${pkgname}" "${config_name}"
done
- git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD -- $(
- git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD \
- | tar -t \
- | grep -v '^config' \
- | grep -vxF 'PKGBUILD'
- )
+ git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD \
+ | tar -t \
+ | grep -v '^config' \
+ | grep -vxF 'PKGBUILD' \
+ | xargs -r git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD --
} | \
ssh arch32-test '
mkdir "'"${pkgname}"'"