projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kdbus] Do not set body message if signature field is empty
[platform/upstream/glib.git]
/
sanity_check
diff --git
a/sanity_check
b/sanity_check
index
87673c9
..
5f6e66e
100755
(executable)
--- a/
sanity_check
+++ b/
sanity_check
@@
-13,19
+13,19
@@
echo "Checking glib-$VERSION.tar.gz..."
tar xfz glib-$VERSION.tar.gz
tar xfz glib-$VERSION.tar.gz
-for file in
README NEWS glib.spec docs/glib-config.1
+for file in
INSTALL NEWS README
do
echo -n "$file... "
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."
echo "failed."
- exit 1
+ #exit 1
+ else
+ echo "ok"
fi
done
echo -n "INSTALL..."
fi
done
echo -n "INSTALL..."
-if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" =
=
"x2" ]; then
+if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" = "x2" ]; then
echo "ok"
else
echo "failed."
echo "ok"
else
echo "failed."
@@
-35,7
+35,6
@@
fi
echo ""
echo "Number of lines in created documentation files:"
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
rm -rf glib-$VERSION