Cloned library of VTK-5.0.0 with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8 lines
305 B

#! /bin/sh
# $Header: /cvsroot/VTK/VTK/Utilities/vtktiff/dist/newalpha,v 1.1 2004/04/28 15:49:22 king Exp $
if test -r tiff.alpha; then
ALPHA=`cat tiff.alpha`; rm -f tiff.alpha
echo "$ALPHA" | awk '{ printf "define ALPHA %1d\n", $3+1}' > tiff.alpha
else
echo "define ALPHA 001" >tiff.alpha
fi