add in a \b after .schemas to be even safer, thanks to steev
authorJohn N. Laliberte <allanonjl@gentoo.org>
Tue, 31 Oct 2006 17:08:44 +0000 (17:08 +0000)
committerJohn N. Laliberte <allanonjl@gentoo.org>
Tue, 31 Oct 2006 17:08:44 +0000 (17:08 +0000)
eclass/gnome2.eclass

index 60d45423c86a3daa666d6b16ed8f091a22782b61..e38fcaa60a70f5d72f34f863ab505ceba5e87bbd 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/gnome2.eclass,v 1.74 2006/10/31 16:11:09 allanonjl Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.75 2006/10/31 17:08:44 allanonjl Exp $
 
 # GNOME 2 ECLASS
 inherit libtool gnome.org debug fdo-mime eutils
@@ -112,7 +112,7 @@ gnome2_gconf_install() {
 
                local contents="${ROOT}/var/db/pkg/*/${PN}-${PVR}/CONTENTS"
 
-               for F in $(grep "^obj /etc/gconf/schemas/.\+\.schemas" ${contents} | gawk '{print $2}' ); do
+               for F in $(grep "^obj /etc/gconf/schemas/.\+\.schemas\b" ${contents} | gawk '{print $2}' ); do
                        if [[ -e "${F}" ]]; then
                                # echo "DEBUG::gconf install  ${F}"
                                ${GCONFTOOL_BIN} --makefile-install-rule ${F} 1>/dev/null