Check that Isabelle/DOF is registered as a component.

This commit is contained in:
Achim D. Brucker 2022-07-02 22:38:39 +01:00
parent fb8dbfac49
commit 3febf83b3c
1 changed files with 11 additions and 0 deletions

View File

@ -132,6 +132,17 @@ fi
ACTUAL_ISABELLE_VERSION=`$ISABELLE_TOOL version`
ISABELLE_VERSION="Isabelle$($ISABELLE_TOOL options -g dof_isabelle)"
if [ ${ISABELLE_VERSION} = "Isabelle" ];
then
echo "Error: cannot find Isabelle/DOF configuration, please check that you"
echo " registered Isabelle/DOF as an Isabelle component, e.g., using"
echo " isabelle components -u $PWD"
exit 1
fi
AFP_DATE="$($ISABELLE_TOOL options -g dof_afp)"
AFP_URL="https://www.isa-afp.org/release/"$AFP_DATE".tar.gz"