5 if [ ! -f glib-$VERSION.tar.gz ]; then
6 echo "ERROR: glib-$VERSION.tar.gz does not exist..."
12 echo "Checking glib-$VERSION.tar.gz..."
13 tar xfz glib-$VERSION.tar.gz
16 for file in INSTALL NEWS README
19 if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" = "x0" ]; then
28 if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" = "x2" ]; then
36 echo "Number of lines in created documentation files:"
38 wc -l glib-$VERSION/docs/reference/*/html/*.html | grep total