[Lunar-commits] r22332 - moonbase/trunk/compilers/sun-jre

Auke Kok sofar at lunar-linux.org
Mon Nov 27 18:43:05 CET 2006


Author: sofar
Date: 2006-11-27 18:43:05 +0100 (Mon, 27 Nov 2006)
New Revision: 22332

Modified:
   moonbase/trunk/compilers/sun-jre/BUILD
Log:
Fix this so that it traps errors at all stages


Modified: moonbase/trunk/compilers/sun-jre/BUILD
===================================================================
--- moonbase/trunk/compilers/sun-jre/BUILD	2006-11-27 17:20:35 UTC (rev 22331)
+++ moonbase/trunk/compilers/sun-jre/BUILD	2006-11-27 17:43:05 UTC (rev 22332)
@@ -1,5 +1,6 @@
 (
 
+  echo export PATH=\"/usr/lib/jre"${VERSION}"/bin:'${PATH}'\" >> $SOURCE_DIRECTORY/sun-jre.rc &&
   chmod +x $SOURCE &&
   ./$SOURCE        &&
 
@@ -7,13 +8,11 @@
 
   cp -r $SOURCE_DIRECTORY/jre${VERSION} /usr/lib/ &&
 
-  mkdir -p /opt/lunar/plugins
-  rm -f /opt/lunar/plugins/libjavaplugin_oji.so
+  mkdir -p /opt/lunar/plugins &&
+  rm -f /opt/lunar/plugins/libjavaplugin_oji.so &&
   ln -sf /usr/lib/jre${VERSION}/plugin/i386/ns7/libjavaplugin_oji.so \
-         /opt/lunar/plugins/
+         /opt/lunar/plugins/ &&
 
-  echo export PATH=\"/usr/lib/jre"${VERSION}"/bin:'${PATH}'\" >> $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