tuned startup;
semi fix of piping-quit peoblem (should work on systems with *real& sh);
--- a/lib/scripts/run-polyml Mon Feb 10 15:45:31 1997 +0100
+++ b/lib/scripts/run-polyml Mon Feb 10 16:16:55 1997 +0100
@@ -67,12 +67,15 @@
if [ -n "$TERMINATE" ]; then
echo "$MLTEXT" | $START_POLY
RC=$?
+elif [ -z "$MLTEXT" ]; then
+ sh -c "$ISABELLE_HOME/lib/Tools/symbolinput | $START_POLY"
+ RC=$?
else
- { echo "$MLTEXT"; $ISABELLE_HOME/lib/Tools/symbolinput } | $START_POLY
+ sh -c "{ echo '$MLTEXT'; $ISABELLE_HOME/lib/Tools/symbolinput; } | $START_POLY"
RC=$?
fi
NEW_DB_INFO=$(ls -l "$DB")
-[ $RC -eq 0 -a -n "$OUTFILE" -a "$DB_INFO" != "$NEW_DB_INFO" ] && $DISCGARB "$OUTFILE"
+[ -n "$OUTFILE" -a "$DB_INFO" != "$NEW_DB_INFO" ] && $DISCGARB "$OUTFILE"
exit $RC