diff options
author | 2007-05-04 17:20:08 +0000 | |
---|---|---|
committer | 2007-05-04 17:20:08 +0000 | |
commit | 1fe01398827a871b53c3e8546cc1abb6baa55c64 (patch) | |
tree | b89109c356a43a6a50ed82f55e2285bca40bcf2f | |
parent | Version bump (diff) | |
download | historical-1fe01398827a871b53c3e8546cc1abb6baa55c64.tar.gz historical-1fe01398827a871b53c3e8546cc1abb6baa55c64.tar.bz2 historical-1fe01398827a871b53c3e8546cc1abb6baa55c64.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.
-rw-r--r-- | eclass/java-utils-2.eclass | 5 |
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 |