Author: behdad
Date: Mon Jan 28 21:22:48 2008
New Revision: 2558
URL: http://svn.gnome.org/viewvc/pango?rev=2558&view=rev

Log:
Minor


Modified:
   trunk/docs/check.docs

Modified: trunk/docs/check.docs
==============================================================================
--- trunk/docs/check.docs       (original)
+++ trunk/docs/check.docs       Mon Jan 28 21:22:48 2008
@@ -23,17 +23,21 @@
 
 status=0
 
-unused=`cat "$DOC_MODULE-unused.txt"`
-if test -n "$unused"; then
-       echo Unused documentated symbols: 1>&2
-       cat "$DOC_MODULE-unused.txt" 1>&2
-       status=1
+if test -f "$DOC_MODULE-unused.txt"; then
+       unused=`cat "$DOC_MODULE-unused.txt"`
+       if test -n "$unused"; then
+               echo Unused documentated symbols: 1>&2
+               cat "$DOC_MODULE-unused.txt" 1>&2
+               status=1
+       fi
 fi
-if ! grep '^0 symbols incomplete' "$DOC_MODULE-undocumented.txt" >/dev/null ||
-   ! grep '^0 not documented'     "$DOC_MODULE-undocumented.txt" >/dev/null; 
then
-       echo Incomplete or undocumented symbols: 1>&2
-       cat "$DOC_MODULE-undocumented.txt" 1>&2
-       status=1
+if test -f "$DOC_MODULE-undocumented.txt"; then
+       if ! grep '^0 symbols incomplete' "$DOC_MODULE-undocumented.txt" 
>/dev/null ||
+          ! grep '^0 not documented'     "$DOC_MODULE-undocumented.txt" 
>/dev/null; then
+               echo Incomplete or undocumented symbols: 1>&2
+               cat "$DOC_MODULE-undocumented.txt" 1>&2
+               status=1
+       fi
 fi
 
 exit $status
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to