summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-06-16 01:26:03 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-06-16 01:26:03 +0000
commit14f5f7c63384211575554b3962e980c7de15bdfe (patch)
treeb5ca31a98a9505bacbbf36f6abe8daf07015530a /eclass
parentuclibc patch thanks to Peter S. Mazinger <ps.m@gmx.net> (Manifest recommit) (diff)
downloadgentoo-2-14f5f7c63384211575554b3962e980c7de15bdfe.tar.gz
gentoo-2-14f5f7c63384211575554b3962e980c7de15bdfe.tar.bz2
gentoo-2-14f5f7c63384211575554b3962e980c7de15bdfe.zip
fix bug 54003.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php-sapi.eclass4
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.*) ;;