From 6e1dd2516f260a0361d65b58509106a615d0c149 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 15 Mar 2012 22:02:41 +0100 Subject: syncer scripts: move locking to cronwrapper now lockfile-progs is used as replacement for the lockfile command of procmail --- bin/sync-openbsd-cvs-repo.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bin/sync-openbsd-cvs-repo.sh') 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} -- cgit v1.2.3-1-g7c22