diff options
author | Stephen Bennett <spb@gentoo.org> | 2004-12-18 22:13:13 +0000 |
---|---|---|
committer | Stephen Bennett <spb@gentoo.org> | 2004-12-18 22:13:13 +0000 |
commit | 189ba54611e9d197afd8c73577c34bfc96c397a4 (patch) | |
tree | f94b2771b25bfc0df05001e95afc08c80efcb9be /eclass/vim.eclass | |
parent | Stable on ppc64; bug #74473 (Manifest recommit) (diff) | |
download | gentoo-2-189ba54611e9d197afd8c73577c34bfc96c397a4.tar.gz gentoo-2-189ba54611e9d197afd8c73577c34bfc96c397a4.tar.bz2 gentoo-2-189ba54611e9d197afd8c73577c34bfc96c397a4.zip |
Use gawk where freebsd's awk doesn't work
Diffstat (limited to 'eclass/vim.eclass')
-rw-r--r-- | eclass/vim.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass index d143efa9d182..9f33c1fbe2eb 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.83 2004/12/11 23:44:58 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.84 2004/12/18 22:13:13 spb Exp $ # Authors: # Ryan Phillips <rphillips@gentoo.org> @@ -124,10 +124,13 @@ apply_vim_patches() { # Scan the patches, applying them only to files that either # already exist or that will be created by the patch + # + # Changed awk to gawk in the below; BSD's awk chokes on it + # --spb, 2004/12/18 einfo "Filtering vim patches ..." p=${WORKDIR}/${VIM_ORG_PATCHES%.tar*}.patch ls ${WORKDIR}/vimpatches | sort | \ - while read f; do gzip -dc ${WORKDIR}/vimpatches/${f}; done | awk ' + while read f; do gzip -dc ${WORKDIR}/vimpatches/${f}; done | gawk ' /^Subject: Patch/ { if (patchnum) {printf "\n" >"/dev/stderr"} patchnum = $3 |