DISCGARB_OPTIONS back in od position;
authorwenzelm
Sun, 05 Jun 2005 21:32:37 +0200
changeset 16285 75954ae8b247
parent 16284 8bcecefd2e89
child 16286 550d113ccd8f
DISCGARB_OPTIONS back in od position;
lib/scripts/run-polyml
--- a/lib/scripts/run-polyml	Sun Jun 05 17:46:06 2005 +0200
+++ b/lib/scripts/run-polyml	Sun Jun 05 21:32:37 2005 +0200
@@ -49,14 +49,6 @@
 
     DISCGARB="$POLY"
     DISCGARB_OPTIONS="-d -c"
-    case "$ML_SYSTEM" in
-      polyml-4.1.[12])
-	DISCGARB_OPTIONS="$DISCGARB_OPTIONS -S 180"
-	;;
-      polyml-4.1.*)
-	DISCGARB_OPTIONS="$DISCGARB_OPTIONS -S max"
-	;;
-    esac
 
     EXIT="fun exit 0 = (OS.Process.exit OS.Process.success): unit | exit _ = OS.Process.exit OS.Process.failure;"
     ;;
@@ -80,6 +72,14 @@
   check_file "$ML_DBASE_PREFIX$ML_DBASE"
   INFILE="$ML_DBASE"
   MLTEXT="val use = PolyML.use; $EXIT $MLTEXT"
+  case "$ML_SYSTEM" in
+    polyml-4.1.[12])
+      DISCGARB_OPTIONS="$DISCGARB_OPTIONS -S 180"
+      ;;
+    polyml-4.1.*)
+      DISCGARB_OPTIONS="$DISCGARB_OPTIONS -S max"
+      ;;
+  esac
 else
   COPYDB=true
 fi