commit:     b77e6a72dbf8193c53a967bf0a76915d56484f77
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  2 14:33:41 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 14:56:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77e6a72

games-board/tablebase-syzygy: Don't call wc, bash can count words

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213-r101.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213-r101.ebuild 
b/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213-r101.ebuild
index 619fcad9c2e4..5e676938e768 100644
--- a/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213-r101.ebuild
+++ b/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213-r101.ebuild
@@ -53,7 +53,7 @@ pkg_nofetch() {
        einfo "After downloading, place all K*.rtbw and K*.rtbz files in your"
        einfo "DISTDIR directory."
        einfo "(For the tablebases with up to 6 pieces, there should be"
-       einfo "$(echo ${A} | wc -w) files in total.)"
+       einfo "$(set -- ${A}; echo $#) files in total.)"
 }
 
 pkg_pretend() {

Reply via email to