diff options
author | John N. Laliberte <allanonjl@gentoo.org> | 2006-03-29 13:02:27 +0000 |
---|---|---|
committer | John N. Laliberte <allanonjl@gentoo.org> | 2006-03-29 13:02:27 +0000 |
commit | e54001d91ab3a36096e46c7ead227befbaea2f23 (patch) | |
tree | abcefacb2e02e451d156d52bff03b322cf2b1eef /eclass/gnome2.eclass | |
parent | new upstream release. (diff) | |
download | historical-e54001d91ab3a36096e46c7ead227befbaea2f23.tar.gz historical-e54001d91ab3a36096e46c7ead227befbaea2f23.tar.bz2 historical-e54001d91ab3a36096e46c7ead227befbaea2f23.zip |
slight fix to the test to print out errors if updating a file fails
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r-- | eclass/gnome2.eclass | 6 |
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 |