Correct exit-code check

This commit is contained in:
Campbell Barton
2016-06-07 13:57:50 +10:00
parent 7a5a02509b
commit f12c55d2b8

View File

@@ -61,7 +61,7 @@ if $DO_EXE_BLENDER ; then
--python-exit-code 1 \ --python-exit-code 1 \
--python $SPHINXBASE/sphinx_doc_gen.py --python $SPHINXBASE/sphinx_doc_gen.py
if (($? == 1)) ; then if (($? != 0)) ; then
echo "Generating documentation failed, aborting" echo "Generating documentation failed, aborting"
exit 1 exit 1
fi fi