1999-07-27 17:50:26 -04:00
|
|
|
#! /bin/sh
|
1999-11-28 15:15:36 -05:00
|
|
|
# $Header: /cvs/maptools/cvsroot/libtiff/dist/Attic/newalpha,v 1.2 1999-11-28 20:15:36 mwelles Exp $
|
1999-07-27 17:50:26 -04:00
|
|
|
if test -r tiff.alpha; then
|
|
|
|
ALPHA=`cat tiff.alpha`; rm -f tiff.alpha
|
1999-11-28 15:15:36 -05:00
|
|
|
echo "$ALPHA" | awk '{ printf "define ALPHA %1d\n", $3+1}' > tiff.alpha
|
1999-07-27 17:50:26 -04:00
|
|
|
else
|
|
|
|
echo "define ALPHA 001" >tiff.alpha
|
|
|
|
fi
|