lib/scripts/ocaml
author wenzelm
Thu, 03 Jan 2019 16:42:15 +0100
changeset 69580 6f755e3cd95d
parent 69268 c1a27fce2076
permissions -rwxr-xr-x
mixfix annotations may use cartouches;

#!/usr/bin/env bash
#
# Author: Makarius
#
# Invoke ocaml via "opam".

if [ -d "$ISABELLE_OPAM_ROOT" ]
then
  isabelle_opam config exec --switch "$ISABELLE_OCAML_VERSION" -- ocaml "$@"
else
  echo "Cannot execute ocaml: missing Isabelle OCaml setup" >&2
  exit 127
fi