proper ISABELLE_OCAML_VERSION;
authorwenzelm
Thu, 21 Mar 2019 14:54:25 +0100
changeset 69938 564985d6867e
parent 69937 afbc075fd2da
child 69940 d043ccb998ee
proper ISABELLE_OCAML_VERSION;
etc/settings
lib/Tools/ocaml_setup
--- a/etc/settings	Thu Mar 21 14:17:36 2019 +0100
+++ b/etc/settings	Thu Mar 21 14:54:25 2019 +0100
@@ -144,7 +144,7 @@
 
 ISABELLE_OPAM_ROOT="$USER_HOME/.opam"
 
-ISABELLE_OCAML_VERSION="4.05.0"
+ISABELLE_OCAML_VERSION="ocaml-base-compiler.4.05.0"
 
 
 ###
--- a/lib/Tools/ocaml_setup	Thu Mar 21 14:17:36 2019 +0100
+++ b/lib/Tools/ocaml_setup	Thu Mar 21 14:54:25 2019 +0100
@@ -8,9 +8,9 @@
 
 if [ -e "$ISABELLE_OPAM_ROOT/config" ]
 then
-  isabelle_opam switch create "ocaml-base-compiler.$ISABELLE_OCAML_VERSION"
+  isabelle_opam switch create "$ISABELLE_OCAML_VERSION"
 else
-  isabelle_opam init --disable-sandboxing --no-setup --compiler="ocaml-base-compiler.$ISABELLE_OCAML_VERSION"
+  isabelle_opam init --disable-sandboxing --no-setup --compiler="$ISABELLE_OCAML_VERSION"
 fi
 
 isabelle_opam install zarith -y