diff options
author | Erich Eckner <git@eckner.net> | 2020-12-12 16:19:29 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-12-12 16:19:29 +0100 |
commit | 53a340abeefcb81ba3b00a4be6a77a06aabbc429 (patch) | |
tree | bcd13156f378412e87e2b778b0ecce35c9e9ba85 | |
parent | db8b0e0d70375e3ebc45e75a961323aa8173ccef (diff) | |
download | devops-53a340abeefcb81ba3b00a4be6a77a06aabbc429.tar.xz |
update-archlinux32-package: fix "kernel with upstream" if no patches are present
-rwxr-xr-x | update-archlinux32-package | 11 |
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}"'" |