diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-08-16 02:20:09 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-08-16 02:20:09 -0400 |
commit | 3aca3b64077cfdb5132c08958c5e0e873aca89d2 (patch) | |
tree | d4ae2e90b5b0bf54b9fb0ae946cfa163f545660c /archbuild.in | |
parent | 9862c71c160631bfc1a14ccbd42688c547ca9c0b (diff) | |
download | devtools-3aca3b64077cfdb5132c08958c5e0e873aca89d2.tar.xz |
Avoid having code/variables in format strings.
Diffstat (limited to 'archbuild.in')
-rw-r--r-- | archbuild.in | 8 |
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[@]}" |