summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package8
1 files changed, 8 insertions, 0 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index 906fcdf..4ce46d4 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -407,6 +407,14 @@ case ${update_path} in
' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD"
{
git -C "${upstream_git_path}/${pkgname}/repos/${repo}-x86_64" archive HEAD --
+ git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD -- . \
+ | tar -tf - \
+ | grep -vxF "$(
+ printf '%s\n' \
+ 'PKGBUILD'
+ ${config_names}
+ )" \
+ | xargs -r git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD --
for config_name in ${config_names}; do
tar -c -C "${git_repo_path}/${repo}/${pkgname}" "${config_name}"
done