rcsfreeze.sh (14605) | rcsfreeze.sh (19972) |
---|---|
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.3 1996/03/12 21:42:40 wosch Exp $ | 5# $Id: rcsfreeze.sh,v 1.4 1996/03/12 23:09:04 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. --- 9 unchanged lines hidden (view full) --- 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:$PATH 29export PATH 30 | 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. --- 9 unchanged lines hidden (view full) --- 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:$PATH 29export PATH 30 |
31DATE=`date` || exit | 31DATE=`LC_TIME=C 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 37fi 38 39# Version number stuff, log message file --- 60 unchanged lines hidden --- | 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 37fi 38 39# Version number stuff, log message file --- 60 unchanged lines hidden --- |