From 285084879f195c7dab75dc8ddb9c4895ab98f9ec Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 16 Aug 2013 02:18:29 -0400 Subject: 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. --- archrelease.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archrelease.in') diff --git a/archrelease.in b/archrelease.in index c56367f..3b11652 100644 --- a/archrelease.in +++ b/archrelease.in @@ -59,7 +59,7 @@ done known_files=("${known_files[@]/%/@}") for tag in "$@"; do - stat_busy "Copying ${trunk} to ${tag}" + stat_busy "Copying %s to %s" "${trunk}" "${tag}" if [[ -d repos/$tag ]]; then declare -a trash -- cgit v1.2.3-54-g00ecf