diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-07-31 00:20:55 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-07-31 00:20:55 +0000 |
commit | bb96516fc180b3aa9d75729bd8b8d09d224e8ed8 (patch) | |
tree | 19863886109b66593b2046e0dbb3155e11955721 /eclass | |
parent | gnome panel 2.2.2.2 now ~amd64 (diff) | |
download | gentoo-2-bb96516fc180b3aa9d75729bd8b8d09d224e8ed8.tar.gz gentoo-2-bb96516fc180b3aa9d75729bd8b8d09d224e8ed8.tar.bz2 gentoo-2-bb96516fc180b3aa9d75729bd8b8d09d224e8ed8.zip |
exchange awk for tr
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vim-doc.eclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/vim-doc.eclass b/eclass/vim-doc.eclass index 25ed50fbc736..bc1bf672b26c 100644 --- a/eclass/vim-doc.eclass +++ b/eclass/vim-doc.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim-doc.eclass,v 1.3 2003/07/30 21:42:57 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim-doc.eclass,v 1.4 2003/07/31 00:20:55 agriffis Exp $ # # This eclass is used by vim.eclass and vim-plugin.eclass to update # the documentation tags. This is necessary since vim doesn't look in @@ -37,8 +37,7 @@ update_vim_helptags() { find $d/doc -name \*.txt -type l | while read s; do [[ `readlink "$s"` = $vimfiles/* ]] && rm -f "$s" done - if [[ -f "$d/doc/tags" && - $(find "$d" | wc -l | awk '{print $1}') = 3 ]]; then + if [[ -f "$d/doc/tags" && $(find "$d" | wc -l | tr -d ' ') = 3 ]]; then # /usr/share/vim/vim61 # /usr/share/vim/vim61/doc # /usr/share/vim/vim61/doc/tags |