summaryrefslogtreecommitdiff
path: root/eclass
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
commit178748934a86ed4b1747bb4ee15ab24f1e33015c (patch)
tree8401acf1a2b258ba17d2b756e54c42b02ee0b0e6 /eclass
parentStable on x86; bug #115849 (diff)
downloadhistorical-178748934a86ed4b1747bb4ee15ab24f1e33015c.tar.gz
historical-178748934a86ed4b1747bb4ee15ab24f1e33015c.tar.bz2
historical-178748934a86ed4b1747bb4ee15ab24f1e33015c.zip
silence warnings
Diffstat (limited to '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 !"