source: trunk/third/tiff/dist/newalpha @ 18174

Revision 18174, 323 bytes checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18173, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1#! /bin/sh
2#       $Header: /afs/dev.mit.edu/source/repository/third/tiff/dist/newalpha,v 1.1.1.1 2002-12-26 02:37:53 ghudson Exp $
3if test -r tiff.alpha; then
4    ALPHA=`cat tiff.alpha`; rm -f tiff.alpha
5    echo "$ALPHA" | awk '{ printf "define ALPHA %1d\n", $3+1}' > tiff.alpha
6else
7    echo "define ALPHA 001" >tiff.alpha
8fi
Note: See TracBrowser for help on using the repository browser.