summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-10-14 10:53:57 +0200
committerErich Eckner <git@eckner.net>2020-10-14 10:53:57 +0200
commitcb8256e05aacbe815dc35ca57764d15f0a018ab3 (patch)
tree0a9f3fa212f88a47badf3412c9e6ca389e4c95ac
parent0c42315ed3345da620be62ab13a320b6f838cb42 (diff)
downloaddevops-cb8256e05aacbe815dc35ca57764d15f0a018ab3.tar.xz
update-archlinux32-package: fix "checksum" path
-rwxr-xr-xupdate-archlinux32-package5
1 files changed, 4 insertions, 1 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index 6795598..8bcbc68 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -235,9 +235,12 @@ case ${update_path} in
echo '"'"'[ "${arch[0]}" = any ] || arch+=(i686 pentium4)'"'"' >> PKGBUILD
' < "${git_repo_path}/${repo}/${pkgname}/PKGBUILD"
update_checksum
+ scp "${used_upstream_git_path}/${pkgname}/repos/${repo}-${repo_arch}/PKGBUILD" \
+ "arch32-test:${pkgname}/"
if ! ssh arch32-test '
cd "'"${pkgname}"'"
- cat > PKGBUILD
+ cat >> PKGBUILD
+ echo '"'"'[ "${arch[0]}" = any ] || arch+=(i686 pentium4)'"'"' >> PKGBUILD
makepkg --verifysource
' < "${git_repo_path}/${repo}/${pkgname}/PKGBUILD"; then
>&2 echo 'something went wrong'