lib/scripts/ocaml
author wenzelm
Sat, 10 Nov 2018 19:01:20 +0100
changeset 69281 599b6d0d199b
parent 69268 c1a27fce2076
permissions -rwxr-xr-x
tuned signature;

#!/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