lib/scripts/ocamlfind
author wenzelm
Tue, 04 Jun 2019 13:08:05 +0200
changeset 70314 6d6839a948cf
parent 69948 a591de179931
permissions -rwxr-xr-x
proper Proof_Context.export_morphism corresponding to Proof_Context.augment (see 7f568724d67e);

#!/usr/bin/env bash
#
# Author: Makarius; Florian Haftmann
#
# Invoke ocamlfind via "opam".

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