summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-11-29 23:11:04 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-11-29 23:11:04 +0000
commit0d5712efcdadeb0e03034a37a0d5e82116f9b27f (patch)
tree557c7d98e17693ac3e7d94c360a81cea85d2de7d /eclass/php-common-r1.eclass
parentforce stable and remove old (security bug #200789) (diff)
downloadhistorical-0d5712efcdadeb0e03034a37a0d5e82116f9b27f.tar.gz
historical-0d5712efcdadeb0e03034a37a0d5e82116f9b27f.tar.bz2
historical-0d5712efcdadeb0e03034a37a0d5e82116f9b27f.zip
Don't use backticks
Diffstat (limited to 'eclass/php-common-r1.eclass')
-rw-r--r--eclass/php-common-r1.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/php-common-r1.eclass b/eclass/php-common-r1.eclass
index 126b9c8a15d2..6e0fcd448923 100644
--- a/eclass/php-common-r1.eclass
+++ b/eclass/php-common-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.11 2007/09/01 15:58:17 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.12 2007/11/29 23:11:04 jokey Exp $
# Based on robbat2's work on the php4 sapi eclass
# Based on stuart's work on the php5 sapi eclass
@@ -72,7 +72,7 @@ php_check_java() {
return
fi
- JDKHOME="`java-config --jdk-home`"
+ JDKHOME="$(java-config --jdk-home)"
NOJDKERROR="You need to use the 'java-config' utility to set your JVM to a JDK!"
if [[ -z "${JDKHOME}" ]] || [[ ! -d "${JDKHOME}" ]] ; then
eerror "${NOJDKERROR}"
@@ -132,7 +132,7 @@ php_install_java_inifile() {
return
fi
- JAVA_LIBRARY="`grep -- '-DJAVALIB' Makefile | sed -e 's,.\+-DJAVALIB=\"\([^"]*\)\".*$,\1,g;' | sort -u`"
+ JAVA_LIBRARY="$(grep -- '-DJAVALIB' Makefile | sed -e 's,.\+-DJAVALIB=\"\([^"]*\)\".*$,\1,g;' | sort -u)"
echo "extension = java.so" >> "${D}/${PHP_EXT_INI_DIR}/java.ini"
echo "java.library = ${JAVA_LIBRARY}" >> "${D}/${PHP_EXT_INI_DIR}/java.ini"