summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-08-02 16:33:41 +0200
committerUlrich Müller <ulm@gentoo.org>2022-08-02 16:56:15 +0200
commitb77e6a72dbf8193c53a967bf0a76915d56484f77 (patch)
tree024be6d78d844dfce963258d34087956687726c1 /games-board
parentsci-geosciences/gpxsee: bump to 11.2 (diff)
downloadgentoo-b77e6a72dbf8193c53a967bf0a76915d56484f77.tar.gz
gentoo-b77e6a72dbf8193c53a967bf0a76915d56484f77.tar.bz2
gentoo-b77e6a72dbf8193c53a967bf0a76915d56484f77.zip
games-board/tablebase-syzygy: Don't call wc, bash can count words
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213-r101.ebuild2
1 files changed, 1 insertions, 1 deletions
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() {