From 0032407e294aecc9306e1610c0cf0d998c9a5cfe Mon Sep 17 00:00:00 2001 From: "rmistry@google.com" Date: Fri, 24 Aug 2012 17:16:05 +0000 Subject: [PATCH] Created to fix http://code.google.com/p/skia/issues/detail?id=817 : UpdateDoxygen step does not fail when Doxygen step fails. Review URL: https://codereview.appspot.com/6480060 git-svn-id: http://skia.googlecode.com/svn/trunk@5278 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tools/update-doxygen.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/update-doxygen.sh b/tools/update-doxygen.sh index 5474b17117..3b421914c5 100755 --- a/tools/update-doxygen.sh +++ b/tools/update-doxygen.sh @@ -35,6 +35,12 @@ fi # Run Doxygen. cd trunk doxygen Doxyfile +ret_code=$? +if [ $ret_code != 0 ]; then + echo "Error while executing Doxygen command" + exit $ret_code +fi + cd ../docs # Add any newly created files to Subversion.