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 /checkpkg.in | |
parent | 9862c71c160631bfc1a14ccbd42688c547ca9c0b (diff) | |
download | devtools-3aca3b64077cfdb5132c08958c5e0e873aca89d2.tar.xz |
Avoid having code/variables in format strings.
Diffstat (limited to 'checkpkg.in')
-rw-r--r-- | checkpkg.in | 4 |
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" |