#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.60 2007/03/01 13:15:14 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.61 2007/03/03 16:27:31 betelgeuse Exp $
# -----------------------------------------------------------------------------
# ------------------------------------------------------------------------------
depend-java-query() {
- USE="${USE}" $(which depend-java-query) "${@}"
+ # Used to have a which call here but it caused endless loops for some people
+ # please tell us why if you you have any idea. Maybe bash 3.1?
+ USE="${USE}" /usr/bin/depend-java-query "${@}"
}
# ------------------------------------------------------------------------------