Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/checkpkg.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 /checkpkg.in
parent9862c71c160631bfc1a14ccbd42688c547ca9c0b (diff)
Avoid having code/variables in format strings.
Diffstat (limited to 'checkpkg.in')
-rw-r--r--checkpkg.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkpkg.in b/checkpkg.in
index 8e0f574..ac4226c 100644
--- a/checkpkg.in
+++ b/checkpkg.in
@@ -35,7 +35,7 @@ for _pkgname in "${pkgname[@]}"; do
elif [[ -f "$PKGDEST/$pkgfile" ]]; then
ln -s "$PKGDEST/$pkgfile" "$pkgfile"
else
- die "File \"$pkgfile\" doesn't exist"
+ die "File \"%s\" doesn't exist" "$pkgfile"
fi
pkgurl=$(pacman -Spdd --print-format '%l' --noconfirm "$_pkgname")
@@ -80,4 +80,4 @@ for _pkgname in "${pkgname[@]}"; do
fi
done
-msg "Files saved to $TEMPDIR"
+msg "Files saved to %s" "$TEMPDIR"