makechrootpkg: Display uniform $copy in messages

Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Sébastien Luttringer 2013-03-02 05:21:09 +01:00 committed by Pierre Schmitz
parent 280d5501b0
commit b807c51102
1 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ umask 0022
# Note this is the same FD number as in mkarchroot
exec 9>"$copydir.lock"
if ! flock -n 9; then
stat_busy "Locking chroot copy '$copy'"
stat_busy "Locking chroot copy [$copy]"
flock 9
stat_done
fi
@ -133,7 +133,7 @@ if [[ ! -d $copydir ]] || $clean_first; then
stat_done
fi
stat_busy 'Creating clean working copy'
stat_busy "Creating clean working copy [$copy]"
use_rsync=false
if type -P btrfs >/dev/null; then
[[ -d $copydir ]] && btrfs subvolume delete "$copydir" &>/dev/null