Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert svn logs into ChangeLog (up to r7858 for now)
[simgrid.git] / examples / java / runtest
index d0ae1d1..98d65c0 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 
-if [ "x$DO_NOT_HAVE_JAVA" = x1 ] ; then
-  return 77
+if test "x$DO_NOT_HAVE_JAVA" = x1 ; then
+  exit 77
 fi
 
 t=`basename $1 .class`
@@ -11,5 +11,5 @@ t=`basename $1 .class`
 
 echo "(LD_LIBRARY_PATH=$LD_LIBRARY_PATH)"
 echo "(CLASSPATH=$CLASSPATH)"
-echo java $options $t
-java $options $t *platform.xml *deployment.xml
\ No newline at end of file
+echo java $options $t *platform.xml *deployment.xml
+java $options $t *platform.xml *deployment.xml