Download mdBook if it doesn't exist better

This commit is contained in:
Stavros Korokithakis
2021-11-20 04:22:40 +02:00
parent 9bf49a225d
commit e1128ae5d2

2
build
View File

@@ -4,7 +4,7 @@ set -euxo pipefail
rm -rf public/
if [ -x $(which mdbook) ] ; then
if [ -x "$(which mdbook)" ] ; then
echo "mdBook found, running..."
else
echo "mdBook not found, downloading..."