source: trunk/athena/bin/delete/makepatch @ 6956

Revision 6956, 539 bytes checked in by probe, 31 years ago (diff)
Initial revision
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3rm -f patch
4OLDPATCHLEVEL=`cat PATCHLEVEL`
5PATCHLEVEL=`expr $OLDPATCHLEVEL + 1`
6echo Incrementing PATCHLEVEL to patch level $PATCHLEVEL
7co -l PATCHLEVEL > /dev/null 2> /dev/null
8echo $PATCHLEVEL > PATCHLEVEL
9echo "PATCHLEVEL incremented by makepatch" | ci -u PATCHLEVEL\
10        2>/dev/null
11echo Adding RCS symbols to RCS logs
12addrcsname PATCHLEVEL$PATCHLEVEL $* >/dev/null 2>/dev/null
13echo Putting differences into the patch file
14rcsdiff -c -rPATCHLEVEL$OLDPATCHLEVEL $* \
15        | egrep -v '^No differences encountered$'\
16        > patch;
17exit 0
Note: See TracBrowser for help on using the repository browser.