summaryrefslogtreecommitdiff
path: root/localdebpool
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2016-04-15 16:30:17 +0200
committerJonas Smedegaard <dr@jones.dk>2016-04-15 16:31:28 +0200
commit284d2e041b408ff8dd46022bdcb81f30fb09b57b (patch)
tree275cc829000e3ae020f255cef185d50657267ec2 /localdebpool
parent3333833573c52445e773fe9a175bd0609fa5da88 (diff)
Tidy (thanks to shellcheck): Don't use variables in the printf format string.
Diffstat (limited to 'localdebpool')
-rwxr-xr-xlocaldebpool4
1 files changed, 2 insertions, 2 deletions
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!"