summaryrefslogtreecommitdiff
path: root/archbuild.in
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-16 02:20:09 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-16 02:20:09 -0400
commit3aca3b64077cfdb5132c08958c5e0e873aca89d2 (patch)
treed4ae2e90b5b0bf54b9fb0ae946cfa163f545660c /archbuild.in
parent9862c71c160631bfc1a14ccbd42688c547ca9c0b (diff)
downloaddevtools32-3aca3b64077cfdb5132c08958c5e0e873aca89d2.tar.xz
Avoid having code/variables in format strings.
Diffstat (limited to 'archbuild.in')
-rw-r--r--archbuild.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/archbuild.in b/archbuild.in
index 06b9d4b..ec70b59 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -45,13 +45,13 @@ if (( EUID )); then
fi
if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
- msg "Creating chroot for [${repo}] (${arch})..."
+ msg "Creating chroot for [%s] (%s)..." "${repo}" "${arch}"
for copy in "${chroots}/${repo}-${arch}"/*; do
[[ -d $copy ]] || continue
- msg2 "Deleting chroot copy '$(basename "${copy}")'..."
+ msg2 "Deleting chroot copy '%s'..." "$(basename "${copy}")"
- lock 9 "$copy.lock" "Locking chroot copy '$copy'"
+ lock 9 "$copy.lock" "Locking chroot copy '%s'" "$copy"
if [[ "$(stat -f -c %T "${copy}")" == btrfs ]]; then
{ type -P btrfs && btrfs subvolume delete "${copy}"; } &>/dev/null
@@ -76,5 +76,5 @@ else
pacman -Syu --noconfirm || abort
fi
-msg "Building in chroot for [${repo}] (${arch})..."
+msg "Building in chroot for [%s] (%s)..." "${repo}" "${arch}"
exec makechrootpkg -r "${chroots}/${repo}-${arch}" "${makechrootpkg_args[@]}"