diff options
author | Doan Tran Cong Danh <congdanhqx@gmail.com> | 2019-07-10 15:22:30 +0700 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2019-07-14 15:08:21 +0200 |
commit | 28caf3ef72aab82fa3fddc10541f68d1bc46f965 (patch) | |
tree | 04e793f242f18448577e06a5838120afa5d36b82 /xgensum | |
parent | cecaeccdc633806adfbab5f2d36cebbbfd5ce0c1 (diff) | |
download | xtools-28caf3ef72aab82fa3fddc10541f68d1bc46f965.tar.gz xtools-28caf3ef72aab82fa3fddc10541f68d1bc46f965.tar.xz xtools-28caf3ef72aab82fa3fddc10541f68d1bc46f965.zip |
xgensum: eliminate unnecessary '\n'
Those newlines ain't printed out anyway. Closes: #137 [via git-merge-pr]
Diffstat (limited to 'xgensum')
-rwxr-xr-x | xgensum | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xgensum b/xgensum index 7e447eb..055239e 100755 --- a/xgensum +++ b/xgensum @@ -69,30 +69,30 @@ for f in $distfiles; do if command -v unzip &>/dev/null; then sum+=$(xbps-uhelper digest <(unzip -p "$distfile")) if [ $? -ne 0 ]; then - echo "$pkgver: extracting $curfile to pipe.\n" + echo "$pkgver: extracting $curfile to pipe." fi else - echo "$pkgver: cannot find unzip bin for extraction.\n" + echo "$pkgver: cannot find unzip bin for extraction." fi ;; *.rpm) if command -v rpmextract &>/dev/null; then sum+=$(xbps-uhelper digest <(rpm2cpio "$distfile" | bsdtar xf - --to-stdout)) if [ $? -ne 0 ]; then - echo "$pkgver: extracting $curfile to pipe.\n" + echo "$pkgver: extracting $curfile to pipe." fi else - echo "$pkgver: cannot find rpmextract for extraction.\n" + echo "$pkgver: cannot find rpmextract for extraction." fi ;; *.7z) if command -v 7z &>/dev/null; then sum+=$(xbps-uhelper digest <(7z x -o "$distfile")) if [ $? -ne 0 ]; then - echo "$pkgver: extracting $curfile to pipe.\n" + echo "$pkgver: extracting $curfile to pipe." fi else - echo "$pkgver: cannot find 7z bin for extraction.\n" + echo "$pkgver: cannot find 7z bin for extraction." fi ;; *.txt|*.patch|*.diff) |