From 2343d5c3c034c2597a034f5a5de9373d7e076e60 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 25 Nov 2012 19:58:39 -0500 Subject: fix locking bug in archbuild (likely bad copy-paste) --- archbuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archbuild.in') 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 -- cgit v1.2.3-70-g09d2