Fix find arguments.
authorMartin Schlemmer <azarah@gentoo.org>
Mon, 26 Sep 2005 22:22:08 +0000 (22:22 +0000)
committerMartin Schlemmer <azarah@gentoo.org>
Mon, 26 Sep 2005 22:22:08 +0000 (22:22 +0000)
eclass/makeedit.eclass

index 67f2ab9c23a32c27aec8ec2c2fc0ddf4c2da3390..66d8d51362c75893f101046af07ca91dae3811e9 100644 (file)
@@ -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/makeedit.eclass,v 1.10 2005/07/06 20:23:20 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/makeedit.eclass,v 1.11 2005/09/26 22:22:08 azarah Exp $
 #
 # Author: Spider
 #
@@ -20,7 +20,7 @@ edit_makefiles() {
        # We already add "-Wno-return-type -w" to compiler flags, so
        # no need to replace "-Wall" and "-Wreturn-type" with them.
        einfo "Parsing Makefiles ..."
-       find . -iname makefile -o -name \*.mk -o -name GNUmakefile -print0 | \
+       find . \( -iname makefile -o -name \*.mk -o -name GNUmakefile \) -print0 | \
                xargs -0 sed -i \
                -e 's:-Wall::g' \
                -e 's:-Wreturn-type::g' \