back to tradition Scratch.thy default -- execution wrt. perspective overcomes the main problems of 226563829580;
authorwenzelm
Fri, 26 Aug 2011 22:25:41 +0200
changeset 44485 2f0a34fc4d2d
parent 44484 470f2ee5950e
child 44536 534d7ee2644a
back to tradition Scratch.thy default -- execution wrt. perspective overcomes the main problems of 226563829580;
src/Tools/jEdit/lib/Tools/jedit
--- a/src/Tools/jEdit/lib/Tools/jedit	Fri Aug 26 22:14:12 2011 +0200
+++ b/src/Tools/jEdit/lib/Tools/jedit	Fri Aug 26 22:25:41 2011 +0200
@@ -134,11 +134,14 @@
 
 # args
 
-while [ "$#" -gt 0 ]
-do
-  ARGS["${#ARGS[@]}"]="$(jvmpath "$1")"
-  shift
-done
+if [ "$#" -eq 0 ]; then
+  ARGS["${#ARGS[@]}"]="Scratch.thy"
+else
+  while [ "$#" -gt 0 ]; do
+    ARGS["${#ARGS[@]}"]="$(jvmpath "$1")"
+    shift
+  done
+fi
 
 
 ## dependencies