summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-04-11 13:52:32 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-04-11 13:52:32 +0200
commitad520b527f3c5d2471e4b471eca5439643a01939 (patch)
tree9ab80ba4aa1537fa53c89093761473e3a0c1a49c /db-update
parent154b5301ff08ef29ff69afc17789a4f1a6a00c20 (diff)
Fail if lock couldn't be obtained; Unlock the repos if ftpdir-cleanup fails
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-update b/db-update
index e4f8020..418c680 100755
--- a/db-update
+++ b/db-update
@@ -141,7 +141,7 @@ for current_arch in ${ARCHES[@]}; do
svnrepo="$reponame-$current_arch"
- repo_lock $reponame $current_arch
+ repo_lock $reponame $current_arch || continue
/bin/mkdir -p "$WORKDIR/build"
cd "$WORKDIR"