aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-05-25 18:35:50 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-05-25 18:35:50 +0000
commit7c71c93475c2b72a3725788e56458d2d011d737a (patch)
treefb45fde66b669c6bfdac9296e82120cab893c052
parentAdd support to the setup.py file for creating the run-java-tool symlinks and ... (diff)
downloadjava-config-7c71c93475c2b72a3725788e56458d2d011d737a.tar.gz
java-config-7c71c93475c2b72a3725788e56458d2d011d737a.tar.bz2
java-config-7c71c93475c2b72a3725788e56458d2d011d737a.zip
Prepend JAVA_HOME to MANPATH instead of appending so that it comes before generation 1.
svn path=/projects/java-config-2/trunk/; revision=4783
-rw-r--r--src/profile.d/java-config-2.csh3
-rw-r--r--src/profile.d/java-config-2.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/profile.d/java-config-2.csh b/src/profile.d/java-config-2.csh
index 0f4e77e..517a054 100644
--- a/src/profile.d/java-config-2.csh
+++ b/src/profile.d/java-config-2.csh
@@ -15,7 +15,8 @@ endif
unset gentoo_user_vm gentoo_system_vm
if ( $?JAVA_HOME ) then
- setenv MANPATH "${MANPATH}:${JAVA_HOME}/man"
+ # prepending to come before generation 1
+ setenv MANPATH "${JAVA_HOME}/man:${MANPATH}"
setenv JDK_HOME $JAVA_HOME
setenv JAVAC ${JDK_HOME}/bin/javac
endif
diff --git a/src/profile.d/java-config-2.sh b/src/profile.d/java-config-2.sh
index 483d1f0..49155d1 100644
--- a/src/profile.d/java-config-2.sh
+++ b/src/profile.d/java-config-2.sh
@@ -27,7 +27,8 @@ elif [ -L /etc/java-config-2/current-system-vm ]; then
export JAVA_HOME=${gentoo_system_vm}
fi
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+# prepending to come before generation 1
+export MANPATH="${JAVA_HOME}/man:${MANPATH}"
export JDK_HOME=${JAVA_HOME}
export JAVAC=${JDK_HOME}/bin/javac
unset gentoo_user_vm gentoo_system_vm user_id