Install AFP entries as components instead of adding them to the ROOTS file.
This commit is contained in:
parent
f3f24c0d2e
commit
16bd3b3a94
7
install
7
install
|
@ -105,9 +105,8 @@ check_afp_entries() {
|
|||
mkdir -p .afp
|
||||
if curl -s -L $AFP_URL | tar zxf - -C .afp $extract; then
|
||||
for e in $missing; do
|
||||
echo " Registering $e in $ISABELLE_HOME_USER/ROOTS"
|
||||
touch $ISABELLE_HOME_USER/ROOTS
|
||||
grep -q $PWD/.afp/$AFP_DATE/thys/$e $ISABELLE_HOME_USER/ROOTS || echo "$PWD/.afp/$AFP_DATE/thys/$e" >> $ISABELLE_HOME_USER/ROOTS
|
||||
echo " Registering $e"
|
||||
$ISABELLE components -u "$PWD/.afp/$AFP_DATE/thys/$e"
|
||||
done
|
||||
echo " AFP installation successful."
|
||||
else
|
||||
|
@ -189,7 +188,7 @@ install_and_register(){
|
|||
sed -i -e "s|<isadofurl>|$DOF_URL|" $ISABELLE_HOME_USER/DOF/*/*
|
||||
LTX_VERSION="$DATE $DOF_VERSION/$ISABELLE_SHORT_VERSION"
|
||||
sed -i -e "s|<isadofltxversion>|$LTX_VERSION|" $ISABELLE_HOME_USER/DOF/*/*
|
||||
$ISABELLE components -u $PWD
|
||||
$ISABELLE components -u "$PWD"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue