summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-20 01:31:53 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-20 01:31:53 +0000
commit56234e92783a3de7db765efdb841a06e5e57a945 (patch)
treef6c421401f4626f946d3b5c9d62f099298737603 /eclass/fixheadtails.eclass
parentStable on x86; bug #115849 (diff)
downloadgentoo-2-56234e92783a3de7db765efdb841a06e5e57a945.tar.gz
gentoo-2-56234e92783a3de7db765efdb841a06e5e57a945.tar.bz2
gentoo-2-56234e92783a3de7db765efdb841a06e5e57a945.zip
silence warnings
Diffstat (limited to 'eclass/fixheadtails.eclass')
-rw-r--r--eclass/fixheadtails.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass
index 58170e4a6667..b63e37629bd6 100644
--- a/eclass/fixheadtails.eclass
+++ b/eclass/fixheadtails.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/fixheadtails.eclass,v 1.9 2005/07/11 15:08:06 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/fixheadtails.eclass,v 1.10 2005/12/20 01:31:53 vapier Exp $
#
# Author John Mylchreest <johnm@gentoo.org>
@@ -35,7 +35,7 @@ ht_fix_file() {
ht_fix_all() {
local MATCHES
- MATCHES="$(grep -l -i -R -e "head -[ 0-9]" -e "tail [+-][ 0-9]" * | sort -u)"
+ MATCHES=$(grep -l -s -i -R -e "head -[ 0-9]" -e "tail [+-][ 0-9]" * | sort -u)
[[ -n ${MATCHES} ]] \
&& ht_fix_file ${MATCHES} \
|| einfo "No need for ht_fix_all anymore !"