From 53a340abeefcb81ba3b00a4be6a77a06aabbc429 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 12 Dec 2020 16:19:29 +0100 Subject: update-archlinux32-package: fix "kernel with upstream" if no patches are present --- update-archlinux32-package | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'update-archlinux32-package') 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}"'" -- cgit v1.2.3-70-g09d2