summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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