diff options
Diffstat (limited to 'sanity_check')
-rwxr-xr-x | sanity_check | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sanity_check b/sanity_check index fabecb41a5..95dddf35ef 100755 --- a/sanity_check +++ b/sanity_check @@ -13,7 +13,7 @@ echo "Checking gtk+-$VERSION.tar.gz..." tar xfz gtk+-$VERSION.tar.gz -for file in README gtk+.spec docs/gtk-config.1 +for file in gtk+.spec docs/gtk-config.1 do echo -n "$file... " if [ "x`grep $VERSION gtk+-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then @@ -24,6 +24,14 @@ do fi done +echo -n "README..." +if [ "x`grep $VERSION gtk+-$VERSION/README | wc -l | awk -F' ' '{print $1}'`" == "x4" ]; then + echo "ok" +else + echo "failed." + exit 1 +fi + echo -n "INSTALL..." if [ "x`grep $VERSION gtk+-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" == "x3" ]; then echo "ok" |