diff --git a/docs/build_version_doc/build_all_version.sh b/docs/build_version_doc/build_all_version.sh index 6b8c3cbd864e..3c432bbedfc9 100755 --- a/docs/build_version_doc/build_all_version.sh +++ b/docs/build_version_doc/build_all_version.sh @@ -122,6 +122,8 @@ function checkout () { git pull # master gets warnings as errors for Sphinx builds OPTS="-W" + else + OPTS= fi git submodule update --init --recursive cd ..