observe COMPRESS option;
authorwenzelm
Wed, 08 Mar 2000 17:40:24 +0100
changeset 8360 885a6414b9c8
parent 8359 124ad46105dd
child 8361 ac19e5abbfb1
observe COMPRESS option;
lib/scripts/run-polyml
--- a/lib/scripts/run-polyml	Wed Mar 08 17:39:08 2000 +0100
+++ b/lib/scripts/run-polyml	Wed Mar 08 17:40:24 2000 +0100
@@ -4,7 +4,7 @@
 #
 # Poly/ML startup script.
 #
-# Global vars: INFILE OUTFILE MLTEXT TERMINATE NOWRITE ISABELLE_TMP,
+# Global vars: INFILE OUTFILE COMPRESS MLTEXT TERMINATE NOWRITE ISABELLE_TMP,
 # and from settings
 
 
@@ -85,7 +85,7 @@
 RC=$?
 
 NEW_DB_INFO=$(ls -l "$DB")
-[ -n "$OUTFILE" -a "$DB_INFO" != "$NEW_DB_INFO" ] && $DISCGARB "$OUTFILE"
+[ -n "$OUTFILE" -a -n "$COMPRESS" -a "$DB_INFO" != "$NEW_DB_INFO" ] && $DISCGARB "$OUTFILE"
 [ -n "$OUTFILE" -a -f "$OUTFILE" -a -n "$NOWRITE" ] && chmod -w "$OUTFILE"
 
 exit $RC