summaryrefslogtreecommitdiffstats
path: root/CVSROOT/updateCVSROOT
blob: f80af3ee633cb98492b9ed5705f67f25864e495f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh
#
# Called in place of mkmodules to take care of files mkmodules doesn't know.
#
# $Id: updateCVSROOT,v 1.1 1995/11/27 06:26:29 peter Exp $

PATH=$PATH:/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin
export PATH

FILELIST="avail mkavail commitcheck cvs_acls.pl commit_prep.pl log_accum.pl"
FILELIST="${FILELIST} cvsedit edithook updateCVSROOT"

cd $1

for i in $FILELIST
do 
  find $i,v -newer $i -exec echo co -u $i \;
done

#find avail,v -newer cvs-committers -exec ./mkavail
#cmp -s cvs-committers /home/mail/cvs-committers || {
#  echo "/home/mail/cvs-committers is different to \$CVSROOT/cvs-committers"
#  echo "please check to see what needs to be updated..."
#}

#exec mkmodules $1
OpenPOWER on IntegriCloud