diff options
Diffstat (limited to 'src/java-config-2.profiled')
-rw-r--r-- | src/java-config-2.profiled | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/java-config-2.profiled b/src/java-config-2.profiled deleted file mode 100644 index 045eb96..0000000 --- a/src/java-config-2.profiled +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/files/Attic/java-config-2.profiled,v 1.3 2006/08/25 02:13:17 nichoj Exp $ - -# If we have a current-user-vm (and aren't root)... set it to JAVA_HOME -gentoo_user_vm="${HOME}/.gentoo/java-config-2/current-user-vm" -gentoo_system_vm="/etc/java-config-2/current-system-vm" - -if [[ ${UID} != 0 && -L ${gentoo_user_vm} ]]; then - export JAVA_HOME=${gentoo_user_vm} -# Otherwise set to the current system vm -elif [[ -L /etc/java-config-2/current-system-vm ]]; then - export JAVA_HOME=${gentoo_system_vm} -fi -export JDK_HOME=${JAVA_HOME} -export JAVAC=${JDK_HOME}/bin/javac -unset gentoo_user_vm gentoo_system_vm |