proper support for "isabelle update -D DIR": avoid accidental exclusion of select_dirs (amending e5dafe9e120f);
#!/usr/bin/env bash
set -e
$ISABELLE_LUALATEX root
if [ -f manual.bib -o -f root.bib ]
then
$ISABELLE_BIBTEX root
$ISABELLE_LUALATEX root
fi
$ISABELLE_LUALATEX root
if [ -f root.idx ]
then
"$ISABELLE_HOME/src/Doc/sedindex" root
$ISABELLE_LUALATEX root
fi