summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/pkgbuild-check-nonfree10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pkgbuild-check-nonfree b/src/pkgbuild-check-nonfree
index 9b006c0..262c1fb 100755
--- a/src/pkgbuild-check-nonfree
+++ b/src/pkgbuild-check-nonfree
@@ -35,7 +35,7 @@ check_deps() (
exit 1 # not a PKGBUILD
fi
- msg2 "Looking for unfree dependencies of ${pkgbase:-${pkgname[0]}} $(get_full_version)"
+ msg2 'Looking for unfree dependencies of %s %s' "${pkgbase:-${pkgname[0]}}" "$(get_full_version)"
local pkgs=(
# packages being built
@@ -51,18 +51,18 @@ check_deps() (
local rep="$(blacklist-get-rep <<<"$line")"
if [[ -z $line ]]; then
# not mentioned in blacklist; free
- plain "$pkg: free"
+ plain '%s: free' "$pkg"
continue
elif [[ -z $rep ]]; then
# non-free with no replacement
- plain "$pkg: non-free"
+ plain '%s: non-free' "$pkg"
ret=1
else
# non-free with free replacement
if [[ "$rep" == "$pkg" ]]; then
- plain "$pkg: repackaged with the same name."
+ plain '%s: repackaged with the same name.' "$pkg"
else
- plain "$pkg: replaced by $rep"
+ plain '%s: replaced by ' "$pkg" "$rep"
fi
fi
done