slackware-current/source/l/ncurses/ncurses.mkhashsize.diff
Patrick J Volkerding c51a629483 Mon Apr 22 20:00:44 UTC 2019
a/aaa_terminfo-6.1_20190420-x86_64-1.txz:  Upgraded.
l/ncurses-6.1_20190420-x86_64-1.txz:  Upgraded.
n/wpa_supplicant-2.8-x86_64-1.txz:  Upgraded.
xap/xpdf-4.00-x86_64-4.txz:  Rebuilt.
  Recompiled with -DSYSTEM_XPDFRC="/etc/xpdfrc". Thanks to J_W.
2019-04-23 08:59:44 +02:00

11 lines
534 B
Diff

--- ./include/MKhashsize.sh.orig 2019-04-22 14:07:41.451003244 -0500
+++ ./include/MKhashsize.sh 2019-04-22 14:10:09.163003249 -0500
@@ -35,7 +35,7 @@
echo " */"
test $# = 0 && set Caps
-TABSIZE=`cat "$@" | grep -v '^[ #]' | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | grep -v "^userdef" | grep -v "^used_by" | wc -l`
+TABSIZE=$(cat "$@" | grep -v '^[ #]' | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | grep -v "^userdef" | grep -v "^used_by" | wc -l)
echo ""
echo "#define CAPTABSIZE ${TABSIZE}"