warn for spaces in ISABELLE_HOME;
authorwenzelm
Thu, 27 Dec 2001 16:44:29 +0100
changeset 12598 fa556d3fe5f2
parent 12597 14822e4436bf
child 12599 8bc47cf91bf6
warn for spaces in ISABELLE_HOME;
lib/scripts/getsettings
--- a/lib/scripts/getsettings	Thu Dec 27 16:43:56 2001 +0100
+++ b/lib/scripts/getsettings	Thu Dec 27 16:44:29 2001 +0100
@@ -15,6 +15,11 @@
 
 #normalize ISABELLE_HOME as passed by caller
 ISABELLE_HOME=$(cd "$ISABELLE_HOME"; echo "$PWD")
+if { echo -n "$ISABELLE_HOME" | fgrep " " >/dev/null; }
+then
+  echo 1>&2 "### White space in ISABELLE_HOME may cause strange problems later on!"
+  echo 1>&2 "### ISABELLE_HOME=\"$ISABELLE_HOME\""
+fi
 
 #key executables
 ISABELLE="$ISABELLE_HOME/bin/isabelle-process"