index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/check-mirrors | 8 |
diff --git a/bin/check-mirrors b/bin/check-mirrors index 8e782d5..d0b626c 100755 --- a/bin/check-mirrors +++ b/bin/check-mirrors @@ -5,6 +5,14 @@ if [ $# -eq 0 ]; then +# Create a lock file. + + exec 9> "${check_mirrors_lock_file}" + if ! verbose_flock 9; then + >&2 echo 'come back (shortly) later - I cannot lock check-mirrors.' + exit + fi + echo 'updating mirrors from git...' >&2 if [ -d "${releng_directory}/.git" ]; then |