File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ chmod 600 "$SSH_FILE" \
17
17
ssh-keyscan github.com >> " $HOME /.ssh/known_hosts"
18
18
19
19
chmod +x " $TRAVIS_BUILD_DIR /Travis/generate_documentation.sh"
20
- " $TRAVIS_BUILD_DIR /Travis/generate_documentation.sh" || travis_terminate 1
20
+ " $TRAVIS_BUILD_DIR /Travis/generate_documentation.sh" || exit 1
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ doxygen $DOXYFILE 2>&1 | tee doxygen.log
78
78
# Only upload if Doxygen successfully created the documentation.
79
79
# Check this by verifying that the html directory and the file html/index.html
80
80
# both exist. This is a good indication that Doxygen did it's work.
81
- if [ -d " html " ] && [ - f " html/ index.html" ]; then
81
+ if [ -f " index.html" ]; then
82
82
echo ' Uploading documentation to the gh-pages branch...'
83
83
# Add everything in this directory (the Doxygen code documentation) to the
84
84
# gh-pages branch.
You can’t perform that action at this time.
0 commit comments