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-dslinux-svn-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-dslinux-svn-repo.sh')
-rwxr-xr-x | bin/sync-dslinux-svn-repo.sh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/sync-dslinux-svn-repo.sh b/bin/sync-dslinux-svn-repo.sh index c302be6..92d9d74 100755 --- a/bin/sync-dslinux-svn-repo.sh +++ b/bin/sync-dslinux-svn-repo.sh @@ -8,11 +8,4 @@ ANONSVN_HOME=/raid/anonsvn SVN_ROOTDIR=$ANONSVN_HOME/dslinux -lockfile=/tmp/`basename $0`.lock - -if lockfile -r 5 $lockfile -then - (cd $SVN_ROOTDIR && rsync -q -z -a --delete rsync://pferd.in-berlin.de/dslinuxsvn/ .) - rm -f $lockfile -fi - +(cd $SVN_ROOTDIR && rsync -q -z -a --delete rsync://pferd.in-berlin.de/dslinuxsvn/ .) |