Initial import

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/libtiff@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2014-07-19 07:44:42 +00:00
commit 6e95530335
410 changed files with 80036 additions and 0 deletions
Executable
+28
View File
@@ -0,0 +1,28 @@
#!/bin/sh
#
# The -f force flag will force new logs to overwrite existing ones.
#
FORCE=0
if test "$1" = "-f" ; then
FORCE=1
shift
fi
#
# Loop over all passed TIFF files
#
for a in $* ; do
BASE=`dirname $a`/`basename $a .tif`
tools/tiffdump $a > ${BASE}.rpt.new
if test $FORCE = 1 ; then
mv ${BASE}.rpt.new ${BASE}.rpt
continue;
fi
if diff ${BASE}.rpt ${BASE}.rpt.new ; then
rm ${BASE}.rpt.new
else
echo Differences between ${BASE}.rpt and ${BASE}.rpt.new
fi
done