build(gen_vimdoc): fall back to lua if luajit doesn't exist (#19498)

It currently falls back to texlua if luajit doesn't exist. However,
the documentation generation does not work with texlua. Instead use lua
as a fall back instead.
This commit is contained in:
dundargoc 2022-07-27 00:17:11 +02:00 committed by GitHub
parent 289256337a
commit 49d2256ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,22 +36,14 @@ test_executable(){
##! \brief sets the lua interpreter
set_lua(){
if test -z "${EXE}"
then
if test -z "${EXE}"; then
test_executable 'luajit'
fi
if test -z "${EXE}"
then
test_executable 'texlua'
fi
if test -z "${EXE}"
then
if test -z "${EXE}"; then
test_executable 'lua'
fi
#echo "final EXE=\"${EXE}\""
}
}
##! \brief makes canonical name of file
##!