summaryrefslogtreecommitdiffstats
path: root/bin/sync-openbsd-cvs-repo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sync-openbsd-cvs-repo.sh')
-rwxr-xr-xbin/sync-openbsd-cvs-repo.sh4
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}