--- 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