diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-06-16 01:26:03 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-06-16 01:26:03 +0000 |
commit | 710d5e0f9daf64b3c8463085de87aea38ee73e00 (patch) | |
tree | 4dcb9556a088e19d07fa8c8cc7da36c39e449be6 /eclass/php-sapi.eclass | |
parent | uclibc patch thanks to Peter S. Mazinger <ps.m@gmx.net> (diff) | |
download | historical-710d5e0f9daf64b3c8463085de87aea38ee73e00.tar.gz historical-710d5e0f9daf64b3c8463085de87aea38ee73e00.tar.bz2 historical-710d5e0f9daf64b3c8463085de87aea38ee73e00.zip |
fix bug 54003.
Diffstat (limited to 'eclass/php-sapi.eclass')
-rw-r--r-- | eclass/php-sapi.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/php-sapi.eclass b/eclass/php-sapi.eclass index 2b5664b6dc8d..57b92b05615c 100644 --- a/eclass/php-sapi.eclass +++ b/eclass/php-sapi.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.32 2004/06/12 03:55:41 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.33 2004/06/16 01:26:03 robbat2 Exp $ # Author: Robin H. Johnson <robbat2@gentoo.org> inherit eutils flag-o-matic @@ -217,7 +217,7 @@ php-sapi_check_java_config() { die fi - JDKVER="$(java-config --java-version 2>&1 | head -n1 | cut -d\" -f2)" + JDKVER=$(java-config --java-version 2>&1 | awk '/^java version/ { print $3 }' | xargs ) einfo "Active JDK version: ${JDKVER}" case ${JDKVER} in 1.4.*) ;; |