Created to fix http://code.google.com/p/skia/issues/detail?id=817 : UpdateDoxygen...
authorrmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 24 Aug 2012 17:16:05 +0000 (17:16 +0000)
committerrmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 24 Aug 2012 17:16:05 +0000 (17:16 +0000)
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

index 5474b17..3b42191 100755 (executable)
@@ -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.