summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn N. Laliberte <allanonjl@gentoo.org>2006-03-29 13:02:27 +0000
committerJohn N. Laliberte <allanonjl@gentoo.org>2006-03-29 13:02:27 +0000
commit60336ce76540e1c372b97cddde1556d5bf7c6b6a (patch)
tree9d6b2474dfe7c15aaf58833763d8f1e100417d31 /eclass
parentnew upstream release. (diff)
downloadgentoo-2-60336ce76540e1c372b97cddde1556d5bf7c6b6a.tar.gz
gentoo-2-60336ce76540e1c372b97cddde1556d5bf7c6b6a.tar.bz2
gentoo-2-60336ce76540e1c372b97cddde1556d5bf7c6b6a.zip
slight fix to the test to print out errors if updating a file fails
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnome2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 27672ae151c5..2e2348c6a941 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.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/gnome2.eclass,v 1.67 2006/03/28 20:59:57 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.68 2006/03/29 13:02:27 allanonjl Exp $
# GNOME 2 ECLASS
inherit libtool gnome.org debug fdo-mime eutils
@@ -183,7 +183,7 @@ gnome2_icon_cache_update() {
## In order to prevent the declaration from being in global scope, we
## this hack to prevent an empty error message being printed for stable
## users. -- compnerd && allanonjl
- if [[ "${fails[i]}" != "" ]] ; then
+ if [[ "${fails[i]}" != "" && "${fails[i]}" != "()" ]] ; then
eerror "Failed to update cache with icon ${fails[i]}"
fi
done
@@ -245,7 +245,7 @@ gnome2_omf_fix() {
## In order to prevent the declaration from being in global scope, we
## this hack to prevent an empty error message being printed for stable
## users. -- compnerd && allanonjl
- if [[ "${fails[i]}" != "" ]] ; then
+ if [[ "${fails[i]}" != "" && "${fails[i]}" != "()" ]] ; then
eerror "Failed to update OMF Makefile ${fails[i]}"
fi
done