avoid spurious error messages, e.g. when scala is missing;
authorwenzelm
Mon, 17 Oct 2022 20:18:05 +0200
changeset 76326 a39fa81929d4
parent 76325 14cf5a50c1e9
child 76327 f70b015e4ac1
avoid spurious error messages, e.g. when scala is missing;
lib/scripts/getsettings
--- a/lib/scripts/getsettings	Mon Oct 17 16:10:45 2022 +0200
+++ b/lib/scripts/getsettings	Mon Oct 17 20:18:05 2022 +0200
@@ -130,7 +130,7 @@
 fi
 
 if [ -e "$ISABELLE_SETUP_JAR" ]; then
-  ISABELLE_SETUP_CLASSPATH="$(isabelle_jdk java -classpath "$(platform_path "$SCALA_INTERFACES:$ISABELLE_SETUP_JAR")" isabelle.setup.Setup classpath)"
+  ISABELLE_SETUP_CLASSPATH="$(isabelle_jdk java -classpath "$(platform_path "$SCALA_INTERFACES:$ISABELLE_SETUP_JAR")" isabelle.setup.Setup classpath 2>/dev/null)"
 fi
 
 set +o allexport