Oh, silly, silly. To work also with the buildbot, we need a global lock.

- Legacy-Id: 338
This commit is contained in:
Henrik Levkowetz 2007-06-12 18:04:14 +00:00
parent dd37257c0c
commit 6fe5717a1f
2 changed files with 3 additions and 3 deletions

View file

@ -53,8 +53,8 @@ cat $settings_local test/settings_local_test.py > ietf/settings_local.py
# Acquire lock, to prevent running test and database update at the same time # Acquire lock, to prevent running test and database update at the same time
LOCKDIR=$build/test/update-db.lock LOCKDIR=/var/lock/ietfdb
PIDFILE=$build/test/update-db.lock/pid PIDFILE=$LOCKDIR/pid
while true; do while true; do
if mkdir $build/test/update-db.lock; then if mkdir $build/test/update-db.lock; then

View file

@ -21,7 +21,7 @@ fi
# Release database update lock # Release database update lock
LOCKDIR=$build/test/update-db.lock LOCKDIR=/var/lock/ietfdb
rm -rf $LOCKDIR rm -rf $LOCKDIR
exit $warnings exit $warnings