mirror of https://github.com/CGAL/cgal
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:
parent
ceec6140ba
commit
07e34b2773
|
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ "$1" == '--help' ]; then
|
if [ "$1" == '--help' ]; then
|
||||||
echo "Usage: $0 <doxygen_1> [doxygen_2] [publish_dir]"
|
echo "Usage: $0 <doxygen_1> [doxygen_2] [publish_dir]"
|
||||||
echo "Compares the output of doxygen_1 and doxygen_2 of this CGAL version, "
|
echo "Compares the output of doxygen_1 and doxygen_2 of this CGAL version, "
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ export PATH
|
||||||
cd "$PWD/doc/scripts"
|
cd "$PWD/doc/scripts"
|
||||||
bash ./test_doxygen_versions.sh /home/cgal-testsuite/local/bin/doxygen '' /srv/CGAL/www/Members/Manual_doxygen_test
|
bash ./test_doxygen_versions.sh /home/cgal-testsuite/local/bin/doxygen '' /srv/CGAL/www/Members/Manual_doxygen_test
|
||||||
case "$CGAL_RELEASE_ID" in
|
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
|
esac
|
||||||
rm -rf "${CGAL_DOC_BUILD}"
|
rm -rf "${CGAL_DOC_BUILD}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue