fix typo with status, and supress stderr output

This commit is contained in:
Frank Warmerdam 2008-09-02 02:26:19 +00:00
parent 80ca2298a3
commit 9fa82bfb78

View File

@ -9,10 +9,11 @@ outfile2=deleteme-out-$$.tif
operation=tiffcp
${TIFFCP} -c g3:1d ${IMG_MINISWHITE_1C_1B} ${outfile1}
status=$?
if test status -eq 0
if test $status -eq 0
then
operation=thumbnail
${THUMBNAIL} ${outfile1} ${outfile2}
${THUMBNAIL} ${outfile1} ${outfile2} 2> /dev/null
status=$?
fi