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