From 284d2e041b408ff8dd46022bdcb81f30fb09b57b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 15 Apr 2016 16:30:17 +0200 Subject: Tidy (thanks to shellcheck): Don't use variables in the printf format string. --- localdebpool | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'localdebpool') diff --git a/localdebpool b/localdebpool index 68a107b..b2aba22 100755 --- a/localdebpool +++ b/localdebpool @@ -236,7 +236,7 @@ done # [ -n "$DEBUG" ] || printf "Creating/updating package sections:" for section in $batchsections; do - [ -n "$DEBUG" ] || printf " $section" + [ -n "$DEBUG" ] || printf " %s" "$section" dists="$(distsfromprvgrpdirs "$PRVBASE/sections/$section")" for dist in $dists; do if [ -n "$DEBUG" ]; then @@ -270,7 +270,7 @@ debugprint "All sections: \"$allsections\"" "2" dists="$(distsfromprvgrpdirs "$PRVBASE/sections")" dists="$(compactlist $dists)" for dist in $dists; do - [ -n "$DEBUG" ] || printf " $dist" + [ -n "$DEBUG" ] || printf " %s" "$dist" genrelease "$dist" ${allsections} done [ -n "$DEBUG" ] || echo " - Done!" -- cgit v1.2.3