summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-25 19:58:39 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-25 20:28:14 -0500
commit2343d5c3c034c2597a034f5a5de9373d7e076e60 (patch)
tree9f25741fc5e57f32385c7f57aa5f7037943d9035
parent3699321904570c1a775d650f399f31e347defa48 (diff)
downloaddevtools32-2343d5c3c034c2597a034f5a5de9373d7e076e60.tar.xz
fix locking bug in archbuild (likely bad copy-paste)
-rw-r--r--archbuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/archbuild.in b/archbuild.in
index 00234f3..7220391 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -43,7 +43,7 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
[[ -d $copy ]] || continue
msg2 "Deleting chroot copy '$(basename "${copy}")'..."
- exec 9>"$copydir.lock"
+ exec 9>"$copy.lock"
if ! flock -n 9; then
stat_busy "Locking chroot copy '$copy'"
flock 9