summaryrefslogtreecommitdiff
path: root/testing2x
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 20:33:06 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-16 13:51:18 -0400
commit6638878c5eb6d5116580d06cc3042a5e9beacb7e (patch)
tree92476d6e2ec6fada6b6e3bedb1cfcffcc7988065 /testing2x
parent7850874b1ef1b18de585be108e3be899d95a3a2a (diff)
Use printf-formatters instead of string interpolation on msg, error, etc.
Diffstat (limited to 'testing2x')
-rwxr-xr-xtesting2x6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing2x b/testing2x
index 9ff2319..e269248 100755
--- a/testing2x
+++ b/testing2x
@@ -4,7 +4,7 @@
. "$(dirname "$0")/db-functions"
if [ $# -lt 1 ]; then
- msg "usage: ${0##*/} <pkgname|pkgbase> ..."
+ msg "usage: %s <pkgname|pkgbase> ..." "${0##*/}"
exit 1
fi
@@ -30,7 +30,7 @@ for pkgbase in "$@"; do
break
fi
done
- "${found_source}" || die "${pkgbase} not found in [${TESTING_REPO}]"
+ "${found_source}" || die "%s not found in [%s]" "${pkgbase}" "${TESTING_REPO}"
found_target=false
for pkgarch in "${ARCHES[@]}" 'any'; do
for repo in "${STABLE_REPOS[@]}"; do
@@ -42,7 +42,7 @@ for pkgbase in "$@"; do
fi
done
done
- "${found_target}" || die "${pkgbase} not found in any of these repos: ${STABLE_REPOS[*]}"
+ "${found_target}" || die "%s not found in any of these repos: " "${pkgbase}" "${STABLE_REPOS[*]}"
fi
done