Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

disable error checking when building old versions #13725

Merged
merged 1 commit into from
Jan 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/build_version_doc/build_all_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ function checkout () {
git pull
# master gets warnings as errors for Sphinx builds
OPTS="-W"
else
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OPTS is already empty (set at line 47). Why is this required? If tag is master OPTS is set to "-w" otherwise it is left as is which is empty.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once master gets called OPTS is set, but when another version is called it should be unset.

OPTS=
fi
git submodule update --init --recursive
cd ..
Expand Down