summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-29 09:02:53 +0100
committerErich Eckner <git@eckner.net>2020-01-29 09:02:53 +0100
commitaefc1e7fe1cfd6e95a7dc693e09c1916832d9545 (patch)
tree7913ad2fbc2f7fa2d64e9439cd6628892033509d /update-archlinux32-package
parent0c0d4aa32badfcdf1415a79c3c10045d14cdd4e9 (diff)
downloaddevops-aefc1e7fe1cfd6e95a7dc693e09c1916832d9545.tar.xz
update-archlinux32-package: update_checksum() should not devour input
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package5
1 files changed, 3 insertions, 2 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index ed2dbc3..4c712d8 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -76,8 +76,9 @@ update_checksum() {
ssh arch32-test '
cd '"${pkgname}"'
makepkg -g
- ' | \
- sed '
+ ' \
+ </dev/null \
+ | sed '
$! s/$/\\n/
' | \
tr -d '\n'