summaryrefslogtreecommitdiff
path: root/sanity_check
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2005-11-18 13:58:48 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-11-18 13:58:48 +0000
commitd7deadb1e228368a0e008c5a6ae287578acfef23 (patch)
treef33933a75277c6eb26353fb27c0236dc90de4ccf /sanity_check
parentf59aac306d4d1c9f334943aacacdffe404cf9759 (diff)
Diffstat (limited to 'sanity_check')
-rwxr-xr-xsanity_check11
1 files changed, 5 insertions, 6 deletions
diff --git a/sanity_check b/sanity_check
index 953c95820..eeb5d39bf 100755
--- a/sanity_check
+++ b/sanity_check
@@ -13,14 +13,14 @@ echo "Checking glib-$VERSION.tar.gz..."
tar xfz glib-$VERSION.tar.gz
-for file in INSTALL NEWS README glib.spec docs/glib-config.1
+for file in INSTALL NEWS README
do
echo -n "$file... "
- if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then
- echo "ok"
- else
+ if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x0" ]; then
echo "failed."
exit 1
+ else
+ echo "ok"
fi
done
@@ -35,7 +35,6 @@ fi
echo ""
echo "Number of lines in created documentation files:"
-wc -l glib-$VERSION/docs/*.html | grep -v total
-wc -l glib-$VERSION/docs/*.info | grep -v total
+wc -l glib-$VERSION/docs/reference/*/html/*.html | grep total
rm -rf glib-$VERSION