source: clfs-sysroot/patches/ncurses-5.7-bash_fix-1.patch@ 667fd39

Last change on this file since 667fd39 was e925ca8, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated bash fixes patch.

  • Property mode set to 100644
File size: 743 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
    
    diff -Naur ncurses-5.6.orig/include/MKhashsize.sh ncurses-5.6/include/MKhashsize.sh
    old new  
    3535echo " */"
    3636
    3737CAPS="${1-Caps}"
    38 TABSIZE=`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l`
     38TABSIZE=$(grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l)
    3939
    4040echo ""
    4141echo "#define CAPTABSIZE        ${TABSIZE}"
Note: See TracBrowser for help on using the repository browser.