Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=2558
  • Loading branch information
Behdad Esfahbod committed Jan 28, 2008
1 parent 5372722 commit bfa586f
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions docs/check.docs
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,21 @@ fi

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

0 comments on commit bfa586f

Please sign in to comment.