source:
patches/ncurses-6.0-bash_fix-1.patch@
03394ec
Last change on this file since 03394ec was c561eaa, checked in by , 9 years ago | |
---|---|
|
|
File size: 784 bytes |
-
include/MKhashsize.sh
Submitted by: Jim Gifford (patches at jg555 dot com) Date: 2007-02-15 Initial Package Version: 5.6 Upstream Status: Sent Origin: Jim Gifford Description: Fixes Ncurses to utilize a buggy version of Bash Comment: Renamed for Ncurses 6.0 Upgrade diff -Naur ncurses-5.6.orig/include/MKhashsize.sh ncurses-5.6/include/MKhashsize.sh
old new 35 35 echo " */" 36 36 37 37 CAPS="${1-Caps}" 38 TABSIZE= `grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l`38 TABSIZE=$(grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l) 39 39 40 40 echo "" 41 41 echo "#define CAPTABSIZE ${TABSIZE}"
Note:
See TracBrowser
for help on using the repository browser.