diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-15 22:02:41 +0100 |
---|---|---|
committer | syncer <root@plopp.spline.de> | 2012-03-15 22:02:41 +0100 |
commit | 6e1dd2516f260a0361d65b58509106a615d0c149 (patch) | |
tree | ffd6c02e8b1b21e3182a3ed502f8644898d4db98 /bin/sync-openbsd-cvs-repo.sh | |
parent | 657d1fc484fa0b21b979525a92ace5c9e6f63da2 (diff) | |
download | mirror-sync-6e1dd2516f260a0361d65b58509106a615d0c149.tar.gz mirror-sync-6e1dd2516f260a0361d65b58509106a615d0c149.tar.bz2 mirror-sync-6e1dd2516f260a0361d65b58509106a615d0c149.zip |
syncer scripts: move locking to cronwrapper
now lockfile-progs is used as replacement for the lockfile command of procmail
Diffstat (limited to 'bin/sync-openbsd-cvs-repo.sh')
-rwxr-xr-x | bin/sync-openbsd-cvs-repo.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bin/sync-openbsd-cvs-repo.sh b/bin/sync-openbsd-cvs-repo.sh index cc546ff..5a58289 100755 --- a/bin/sync-openbsd-cvs-repo.sh +++ b/bin/sync-openbsd-cvs-repo.sh @@ -6,9 +6,7 @@ #logger "`basename $0`: invoked `date`" CVS_ROOTDIR=/raid/anoncvs/OpenBSD/cvs -LOCKFILE=/tmp/`basename ${0}`.lock -lockfile -r 3 ${LOCKFILE} || exit 1 (cd $CVS_ROOTDIR && \ rsync -q -a --recursive --times --links --hard-links --delete \ --exclude=CVSROOT/history \ @@ -26,5 +24,3 @@ echo "" > $CVS_ROOTDIR/CVSROOT/config # One line in the modules file breaks checkouts, # due to debian bug #226888. Comment it out. --stsp sed -i -e 's/\(^www.*-i.*\)/#\1/' $CVS_ROOTDIR/CVSROOT/modules - -rm -f ${LOCKFILE} |