saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Copyright 1999-2013 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/java-config-2.profiled.sh-r1,v 1.1 2007/03/16 11:13:16 betelgeuse 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"
|
||||
@@ -23,7 +22,7 @@ fi
|
||||
if [ "${user_id}" != 0 -a -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
|
||||
elif [ -L "/etc/java-config-2/current-system-vm" ]; then
|
||||
export JAVA_HOME=${gentoo_system_vm}
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user