[Lunar-commits] <moonbase> sun-jdk, sun-jre: Added the export of JAVA_HOME. Latest subversion-1.5.0 BUILD

Terry Chan tchan at lunar-linux.org
Fri Jun 20 04:40:39 CEST 2008


commit 070d2661ba3eafec2e5ffea7301140e9101ad2ca
Author: Terry Chan <tchan at lunar-linux.org>
Date:   Thu Jun 19 21:40:39 2008 -0500

    sun-jdk, sun-jre: Added the export of JAVA_HOME. Latest subversion-1.5.0 BUILD
    will crap out if JAVA_HOME is not declared.
---
 compilers/sun-jdk/BUILD |    1 +
 compilers/sun-jre/BUILD |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/compilers/sun-jdk/BUILD b/compilers/sun-jdk/BUILD
index 1cb939d..8f9193b 100644
--- a/compilers/sun-jdk/BUILD
+++ b/compilers/sun-jdk/BUILD
@@ -26,6 +26,7 @@
 
 
   echo export PATH=\"'${PATH}':/usr/lib/jdk"${VERSION}"/bin\" >> $SOURCE_DIRECTORY/sun-jdk.rc &&
+  echo export JAVA_HOME=\"'${JAVA_HOME}':/usr/lib/jdk"${VERSION}"/\" >> $SOURCE_DIRECTORY/sun-jdk.rc &&
   install -m644 $SOURCE_DIRECTORY/sun-jdk.rc /etc/profile.d/
 
 ) > $C_FIFO 2>&1
diff --git a/compilers/sun-jre/BUILD b/compilers/sun-jre/BUILD
index 4cc74d7..5ef2c20 100644
--- a/compilers/sun-jre/BUILD
+++ b/compilers/sun-jre/BUILD
@@ -13,6 +13,7 @@
 
 
   echo export PATH=\"'${PATH}':/usr/lib/jre"${VERSION}"/bin\" >> $SOURCE_DIRECTORY/sun-jre.rc &&
+  echo export JAVA_HOME=\"'${JAVA_HOME}':/usr/lib/jre"${VERSION}"/\" >> $SOURCE_DIRECTORY/sun-jre.rc &&
   install -m644 $SOURCE_DIRECTORY/sun-jre.rc /etc/profile.d/
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list