Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archco.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2013-08-16 02:18:29 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2017-04-02 03:14:21 -0400
commit285084879f195c7dab75dc8ddb9c4895ab98f9ec (patch)
tree1e03536795be58879ae0af8964b55545c51b184b /archco.in
parent65df23f2c8176a526cd1702b2e2a4d5a7b17c720 (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 'archco.in')
-rw-r--r--archco.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/archco.in b/archco.in
index 6088b8e..77cc8c4 100644
--- a/archco.in
+++ b/archco.in
@@ -6,7 +6,7 @@ m4_include(lib/common.sh)
scriptname=${0##*/}
if [[ -z $1 ]]; then
- echo 'Usage: '$scriptname' <package name>...'
+ printf 'Usage: %s <package name>...\n' "$scriptname"
exit 1
fi