[Lunar-commits] r24001 - in moonbase/trunk/compilers: sun-jdk sun-jre

Stefan Wold ratler at lunar-linux.org
Tue Apr 10 07:11:27 CEST 2007


Author: ratler
Date: 2007-04-10 07:11:27 +0200 (Tue, 10 Apr 2007)
New Revision: 24001

Modified:
   moonbase/trunk/compilers/sun-jdk/BUILD
   moonbase/trunk/compilers/sun-jre/BUILD
Log:
Rather PRE-append $PATH then appending in the end, otherwise java binaries end up first in the search path which is not that nice

Modified: moonbase/trunk/compilers/sun-jdk/BUILD
===================================================================
--- moonbase/trunk/compilers/sun-jdk/BUILD	2007-04-10 01:33:29 UTC (rev 24000)
+++ moonbase/trunk/compilers/sun-jdk/BUILD	2007-04-10 05:11:27 UTC (rev 24001)
@@ -1,6 +1,6 @@
 (
 
-  echo export PATH=\"/usr/lib/jdk"${VERSION}"/bin:'${PATH}'\" >> $SOURCE_DIRECTORY/sun-jdk.rc &&
+  echo export PATH=\"'${PATH}':/usr/lib/jdk"${VERSION}"/bin\" >> $SOURCE_DIRECTORY/sun-jdk.rc &&
   chmod +x $SOURCE &&
   ./$SOURCE        &&
 

Modified: moonbase/trunk/compilers/sun-jre/BUILD
===================================================================
--- moonbase/trunk/compilers/sun-jre/BUILD	2007-04-10 01:33:29 UTC (rev 24000)
+++ moonbase/trunk/compilers/sun-jre/BUILD	2007-04-10 05:11:27 UTC (rev 24001)
@@ -1,6 +1,6 @@
 (
 
-  echo export PATH=\"/usr/lib/jre"${VERSION}"/bin:'${PATH}'\" >> $SOURCE_DIRECTORY/sun-jre.rc &&
+  echo export PATH=\"'${PATH}':/usr/lib/jre"${VERSION}"/bin\" >> $SOURCE_DIRECTORY/sun-jre.rc &&
   chmod +x $SOURCE &&
   ./$SOURCE        &&
 



More information about the Lunar-commits mailing list