diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2013-08-16 02:18:29 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-02-16 14:42:38 -0500 |
commit | f302cbed525fddc4596c6d568a176a1528b88058 (patch) | |
tree | ef183433e932c484b38d2286ad7bc5ebe7362d4c /checkpkg.in | |
parent | 978caaf7de4b7e18d5b9a3763d479ab5a7adae24 (diff) |
Avoid using string interpolation; use printf format strings instead.
This involves extending the signature of lib/common.sh's `stat_busy()`,
`lock()`, and `slock()`. The `mesg=$1; shift` in stat_busy even suggests
that this is what was originally intended from it.
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 467ac74..fcbfd80 100644 --- a/checkpkg.in +++ b/checkpkg.in @@ -69,8 +69,8 @@ for _pkgname in "${pkgname[@]}"; do msg "Sonames differ in $_pkgname!" echo "$diff_output" else - msg "No soname differences for $_pkgname." + msg "No soname differences for %s." "$_pkgname" fi done -msg "Files saved to $TEMPDIR" +msg "Files saved to %s" "$TEMPDIR" |