diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-18 00:10:08 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-18 00:10:08 -0400 |
commit | 878a9afd8fe40fa4263c5af04491ff91c8f0c09a (patch) | |
tree | 5c8fd61691a9a1560be001cd0ace0112cb432a5a /cron-jobs/sourceballs | |
parent | 5b6036ac62755ebc7414e0583abeeab33bb75644 (diff) |
Use printf-formatters when possible (incomplete)
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-x | cron-jobs/sourceballs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index 2c11de2..2fc09d5 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -104,15 +104,15 @@ for repo in "${PKGREPOS[@]}"; do done < "${WORKDIR}/db-${repo}" if [ ${#newpkgs[@]} -ge 1 ]; then - msg "Adding source packages for [${repo}]..." + msg "Adding source packages for [%s]..." "${repo}" for new_pkg in "${newpkgs[@]}"; do - msg2 "${new_pkg}" + msg2 '%s' "${new_pkg}" done fi if [ ${#failedpkgs[@]} -ge 1 ]; then - msg "Failed to create source packages for [${repo}]..." + msg "Failed to create source packages for [%s]..." "${repo}" for failed_pkg in "${failedpkgs[@]}"; do - msg2 "${failed_pkg}" + msg2 '%s' "${failed_pkg}" done fi done |