#!/bin/sh
if fgrep 'TIPX' hunt.c 2>&1 > /dev/null
   then
       echo 'diffs have already been applied';
       exit 1;
   else
       echo 'applying patches to tip to make tipx';
fi
patch -p < tipx.diff.01
echo ''
echo 'patches have been applied.  if patch was successful,'
echo 'then edit Makefile to your liking and make.'
exit 0
