Download mdBook if it doesn't exist better
This commit is contained in:
parent
9bf49a225d
commit
e1128ae5d2
2
build
2
build
@ -4,7 +4,7 @@ set -euxo pipefail
|
|||||||
|
|
||||||
rm -rf public/
|
rm -rf public/
|
||||||
|
|
||||||
if [ -x $(which mdbook) ] ; then
|
if [ -x "$(which mdbook)" ] ; then
|
||||||
echo "mdBook found, running..."
|
echo "mdBook found, running..."
|
||||||
else
|
else
|
||||||
echo "mdBook not found, downloading..."
|
echo "mdBook not found, downloading..."
|
||||||
|
Loading…
Reference in New Issue
Block a user