diff options
author | Erich Eckner <git@eckner.net> | 2020-01-29 09:02:53 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-29 09:02:53 +0100 |
commit | aefc1e7fe1cfd6e95a7dc693e09c1916832d9545 (patch) | |
tree | 7913ad2fbc2f7fa2d64e9439cd6628892033509d | |
parent | 0c0d4aa32badfcdf1415a79c3c10045d14cdd4e9 (diff) | |
download | devops-aefc1e7fe1cfd6e95a7dc693e09c1916832d9545.tar.xz |
update-archlinux32-package: update_checksum() should not devour input
-rwxr-xr-x | update-archlinux32-package | 5 |
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' |