summaryrefslogtreecommitdiff
path: root/dist/newalpha
blob: 5b1a26691ba68c660aa9952242c4576075490811 (plain)
1
2
3
4
5
6
7
8
#! /bin/sh
#	$Header: /usr/people/sam/tiff/dist/RCS/newalpha,v 1.1 1994/12/17 18:27:58 sam Exp $
if test -r tiff.alpha; then
    ALPHA=`cat tiff.alpha`; rm -f tiff.alpha
    echo "$ALPHA" | awk '{ printf "define ALPHA %03d\n", $3+1}' > tiff.alpha
else
    echo "define ALPHA 001" >tiff.alpha
fi