index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2021-03-31 20:40:10 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-03-31 20:40:38 +0200 |
commit | 2cc3d8322abe74a54ad1915a90652b2f83d3f0cd (patch) | |
tree | 0305aec5c631d463d7783603f33b6aabcbc99e02 | |
parent | 53a340abeefcb81ba3b00a4be6a77a06aabbc429 (diff) |
-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 |