summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-05-04 17:20:08 +0000
committerVlastimil Babka <caster@gentoo.org>2007-05-04 17:20:08 +0000
commit1fdf2a8636da4da03d7d841c0034462f60adb893 (patch)
treea91cb23e6278151976965b115864697a15626263 /eclass
parentVersion bump (diff)
downloadgentoo-2-1fdf2a8636da4da03d7d841c0034462f60adb893.tar.gz
gentoo-2-1fdf2a8636da4da03d7d841c0034462f60adb893.tar.bz2
gentoo-2-1fdf2a8636da4da03d7d841c0034462f60adb893.zip
Export LANG="C" LC_ALL="C" for all JDK's and not just IBM. Fixes bug #170367 and generally should make our life
easier.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils-2.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index ff04af9bf2b1..c6f185ca445a 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -6,7 +6,7 @@
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.82 2007/04/29 13:13:03 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.83 2007/05/04 17:20:08 caster Exp $
# -----------------------------------------------------------------------------
@@ -2207,13 +2207,14 @@ java-pkg_func-exists() {
java-pkg_setup-vm() {
debug-print-function ${FUNCNAME} $*
+ export LANG="C" LC_ALL="C"
+
local vendor="$(java-pkg_get-vm-vendor)"
if [[ "${vendor}" == "sun" ]] && java-pkg_is-vm-version-ge "1.5" ; then
addpredict "/dev/random"
elif [[ "${vendor}" == "ibm" ]]; then
addpredict "/proc/self/maps"
addpredict "/proc/cpuinfo"
- export LANG="C" LC_ALL="C"
elif [[ "${vendor}" == "jrockit" ]]; then
addpredict "/proc/cpuinfo"
fi