From 745d32b1aa0b36ed74b8a34ff4d6843b51f7b9f0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 21 Sep 2013 15:17:46 -0400 Subject: abslibre-tools: internationalize --- src/abslibre-tools/librestage | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/abslibre-tools/librestage') diff --git a/src/abslibre-tools/librestage b/src/abslibre-tools/librestage index b85878b..96e60ff 100755 --- a/src/abslibre-tools/librestage +++ b/src/abslibre-tools/librestage @@ -23,14 +23,13 @@ . libremessages . $(librelib conf.sh) -cmd=${0##*/} usage() { - print "Usage: %s REPO [REPO2 REPO3...]" "$cmd" + print "Usage: %s REPO [REPO2 REPO3...]" "${0##*/}" print "Stages the package(s) build by ./PKGBUILD for upload." echo - print "The package(s) are staged for the named repositories." - print "It is in general a bad idea to stage a package on multiple" - print "repositories, but it supported by this tool." + prose "The package(s) are staged for the named repositories. + It is in general a bad idea to stage a package on multiple + repositories, but it supported by this tool." } main() { @@ -67,7 +66,8 @@ main() { # Now for the main routine. staged=false - slock 10 "${WORKDIR}/staging.lock" 'Waiting for a shared lock on the staging directory' + slock 10 "${WORKDIR}/staging.lock" \ + 'Waiting for a shared lock on the staging directory' for CARCH in "${ARCHES[@]}" any; do for _pkgname in "${pkgname[@]}"; do pkgfile=${_pkgname}-$(get_full_version $_pkgname)-${CARCH}${PKGEXT} @@ -79,7 +79,7 @@ main() { pkgpath="$(readlink -f "$pkgpath")" fi - msg "Found ${pkgfile}" + msg 'Found %s' "${pkgfile}" canonical="" # is empty for the first iteration, set after that for repo in "${repos[@]}"; do -- cgit v1.2.3-54-g00ecf