index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | update-archlinux32-package | 8 |
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 |