retain output, which is required for non-existent JRE, for example (cf. b455e4f42c04);
authorwenzelm
Tue, 27 Sep 2011 14:17:40 +0200
changeset 45095 bf7a8906c0cb
parent 45094 a43694a0b726
child 45096 7a1302b22a11
retain output, which is required for non-existent JRE, for example (cf. b455e4f42c04);
Admin/MacOS/App1/script
--- a/Admin/MacOS/App1/script	Tue Sep 27 00:03:11 2011 +0200
+++ b/Admin/MacOS/App1/script	Tue Sep 27 14:17:40 2011 +0200
@@ -106,8 +106,7 @@
   ( "$ISABELLE_TOOL" emacs "${EMACS_OPTIONS[@]}" "$@" ) > "$OUTPUT" 2>&1
   RC=$?
 else
-  rm -f "$OUTPUT" && touch "$OUTPUT"
-  "$ISABELLE_TOOL" jedit "$@"
+  ( "$ISABELLE_TOOL" jedit "$@" ) > "$OUTPUT" 2>&1
   RC=$?
 fi