Try to be more robust on errors

The objective is to always have a working http://doc.cgal.org/master
This commit is contained in:
Laurent Rineau 2017-07-17 17:42:50 +02:00
parent ceec6140ba
commit 07e34b2773
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash
set -e
if [ "$1" == '--help' ]; then
echo "Usage: $0 <doxygen_1> [doxygen_2] [publish_dir]"
echo "Compares the output of doxygen_1 and doxygen_2 of this CGAL version, "

View File

@ -65,7 +65,7 @@ export PATH
cd "$PWD/doc/scripts"
bash ./test_doxygen_versions.sh /home/cgal-testsuite/local/bin/doxygen '' /srv/CGAL/www/Members/Manual_doxygen_test
case "$CGAL_RELEASE_ID" in
*-I-*) ln -snf "../Manual_doxygen_test/$CGAL_RELEASE_ID/output" /srv/CGAL/www/doc/master
*-I-*) rsync -a --delete "../Manual_doxygen_test/$CGAL_RELEASE_ID/output/" /srv/CGAL/www/doc/master/
;;
esac
rm -rf "${CGAL_DOC_BUILD}"