summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-15 18:22:52 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-15 18:22:52 +0000
commit91be79b40f21b506d5fec9aa0697c549c30ae2bc (patch)
tree48cf751f53ca05fbad3dcdd7434307bc68820da5 /eclass/kde.eclass
parentfix broken syntax (diff)
downloadgentoo-2-91be79b40f21b506d5fec9aa0697c549c30ae2bc.tar.gz
gentoo-2-91be79b40f21b506d5fec9aa0697c549c30ae2bc.tar.bz2
gentoo-2-91be79b40f21b506d5fec9aa0697c549c30ae2bc.zip
fix brain dead grepping
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 423d683585ae..ad00f2769a5a 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.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/kde.eclass,v 1.115 2005/02/17 14:58:30 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.116 2005/05/15 18:22:52 vapier Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -67,7 +67,7 @@ kde_src_unpack() {
# briefly, -fvisibility-inlines-hidden is broken on amd64 and ppc
# this only applies to kde 3.4. the grep prevents us from removing configure unnecessarily.
if useq amd64 || useq ppc; then
- if grep -- '-fvisibility=hidden -fvisibility-inlines-hidden' admin/acinclude.m4.in >/dev/null; then
+ if grep -qs -- '-fvisibility=hidden -fvisibility-inlines-hidden' admin/acinclude.m4.in ; then
sed -i -e 's:-fvisibility=hidden -fvisibility-inlines-hidden:-fvisibility=hidden:' admin/acinclude.m4.in
rm -f configure
fi