diff options
author | Frederic Lepied <flepied@mandriva.com> | 2001-07-31 05:30:56 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2001-07-31 05:30:56 +0000 |
commit | 8872a532d7b144d3e2cf655db6a1644f656033b0 (patch) | |
tree | 65a0e6d6cf0a273463592e9d9be326239f2b0bcd /eazel-engine/check-data.sh | |
parent | fb41d7e8913e99b3f4962d8916578ae60e0c0ce0 (diff) | |
download | common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.tar common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.tar.gz common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.tar.bz2 common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.tar.xz common-data-8872a532d7b144d3e2cf655db6a1644f656033b0.zip |
Initial revision
Diffstat (limited to 'eazel-engine/check-data.sh')
-rwxr-xr-x | eazel-engine/check-data.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/eazel-engine/check-data.sh b/eazel-engine/check-data.sh new file mode 100755 index 0000000..74637d9 --- /dev/null +++ b/eazel-engine/check-data.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +# script to check that all image files are listed in the correct +# Makefile.am + +images=`grep \.png gtkrc.in | sed -e 's/^.*image *= *"\(.*\)".*$/\1/'` + +missing=no + +for f in $images; do + fgrep $f data/Makefile.am >/dev/null \ + || { missing=yes; echo "data/Makefile.am is missing $f"; } +done + +if [ $missing != no ]; then + exit 1 +else + exit 0 +fi |