/[gentoo-x86]/eclass/gnome2.eclass
Gentoo

Diff of /eclass/gnome2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.67 Revision 1.68
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.67 2006/03/28 20:59:57 compnerd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.68 2006/03/29 13:02:27 allanonjl Exp $
4 4
5# GNOME 2 ECLASS 5# GNOME 2 ECLASS
6inherit libtool gnome.org debug fdo-mime eutils 6inherit libtool gnome.org debug fdo-mime eutils
7 7
8# Extra configure opts passed to econf 8# Extra configure opts passed to econf
181 ## The current stable version of bash lists the sizeof fails to be 1 181 ## The current stable version of bash lists the sizeof fails to be 1
182 ## when there are no elements in the list because it is declared local. 182 ## when there are no elements in the list because it is declared local.
183 ## In order to prevent the declaration from being in global scope, we 183 ## In order to prevent the declaration from being in global scope, we
184 ## this hack to prevent an empty error message being printed for stable 184 ## this hack to prevent an empty error message being printed for stable
185 ## users. -- compnerd && allanonjl 185 ## users. -- compnerd && allanonjl
186 if [[ "${fails[i]}" != "" ]] ; then 186 if [[ "${fails[i]}" != "" && "${fails[i]}" != "()" ]] ; then
187 eerror "Failed to update cache with icon ${fails[i]}" 187 eerror "Failed to update cache with icon ${fails[i]}"
188 fi 188 fi
189 done 189 done
190} 190}
191 191
243 ## The current stable version of bash lists the sizeof fails to be 1 243 ## The current stable version of bash lists the sizeof fails to be 1
244 ## when there are no elements in the list because it is declared local. 244 ## when there are no elements in the list because it is declared local.
245 ## In order to prevent the declaration from being in global scope, we 245 ## In order to prevent the declaration from being in global scope, we
246 ## this hack to prevent an empty error message being printed for stable 246 ## this hack to prevent an empty error message being printed for stable
247 ## users. -- compnerd && allanonjl 247 ## users. -- compnerd && allanonjl
248 if [[ "${fails[i]}" != "" ]] ; then 248 if [[ "${fails[i]}" != "" && "${fails[i]}" != "()" ]] ; then
249 eerror "Failed to update OMF Makefile ${fails[i]}" 249 eerror "Failed to update OMF Makefile ${fails[i]}"
250 fi 250 fi
251 done 251 done
252} 252}
253 253

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

  ViewVC Help
Powered by ViewVC 1.1.20