rcsfreeze.sh (14601) | rcsfreeze.sh (14605) |
---|---|
1#! /bin/sh 2 3# rcsfreeze - assign a symbolic revision number to a configuration of RCS files 4 | 1#! /bin/sh 2 3# rcsfreeze - assign a symbolic revision number to a configuration of RCS files 4 |
5# $Id: rcsfreeze.sh,v 1.2 1995/10/28 21:50:47 peter Exp $ | 5# $Id: rcsfreeze.sh,v 1.3 1996/03/12 21:42:40 wosch Exp $ |
6 7# The idea is to run rcsfreeze each time a new version is checked 8# in. A unique symbolic revision number (C_[number], where number 9# is increased each time rcsfreeze is run) is then assigned to the most 10# recent revision of each RCS file of the main trunk. 11# 12# If the command is invoked with an argument, then this 13# argument is used as the symbolic name to freeze a configuration. --- 6 unchanged lines hidden (view full) --- 20# 21# The shell script works only on all RCS files at one time. 22# It is important that all changed files are checked in (there are 23# no precautions against any error in this respect). 24# file names: 25# {RCS/}.rcsfreeze.ver version number 26# {RCS/}.rscfreeze.log log messages, most recent first 27 | 6 7# The idea is to run rcsfreeze each time a new version is checked 8# in. A unique symbolic revision number (C_[number], where number 9# is increased each time rcsfreeze is run) is then assigned to the most 10# recent revision of each RCS file of the main trunk. 11# 12# If the command is invoked with an argument, then this 13# argument is used as the symbolic name to freeze a configuration. --- 6 unchanged lines hidden (view full) --- 20# 21# The shell script works only on all RCS files at one time. 22# It is important that all changed files are checked in (there are 23# no precautions against any error in this respect). 24# file names: 25# {RCS/}.rcsfreeze.ver version number 26# {RCS/}.rscfreeze.log log messages, most recent first 27 |
28PATH=/bin:/usr/bin:/usr/local/bin:$PATH | 28PATH=/bin:/usr/bin:$PATH |
29export PATH 30 31DATE=`date` || exit 32# Check whether we have an RCS subdirectory, so we can have the right 33# prefix for our paths. 34if test -d RCS 35then RCSDIR=RCS/ EXT= 36else RCSDIR= EXT=,v --- 63 unchanged lines hidden --- | 29export PATH 30 31DATE=`date` || exit 32# Check whether we have an RCS subdirectory, so we can have the right 33# prefix for our paths. 34if test -d RCS 35then RCSDIR=RCS/ EXT= 36else RCSDIR= EXT=,v --- 63 unchanged lines hidden --- |