app-text/po4a: slightly improve the ebuild
authorAlexander Golubev <fatzer2@gmail.com>
Thu, 26 Jan 2017 04:14:48 +0000 (07:14 +0300)
committerGöktürk Yüksek <gokturk@gentoo.org>
Thu, 26 Jan 2017 08:25:57 +0000 (03:25 -0500)
app-text/po4a/po4a-0.47.ebuild

index a1bafa0635e9e21caa650cf944a0bbb9af8f04f6..094d939aad50595ef6436cc8b0e40c14204d7d42 100644 (file)
@@ -41,8 +41,8 @@ DIST_TEST="do"
 src_prepare() {
        # Check against locale files in ${S}/pod/bin for mismatches
        # with languages listed in PLOCALES
-       local locales_path="$S/po/bin"
-       l10n_find_plocales_changes "$locales_path" "" ".po"
+       local locales_path="${S}/po/bin"
+       l10n_find_plocales_changes "${locales_path}" "" ".po"
 
        # Get rid of disabled locales
        my_get_disabled_locales() {
@@ -51,7 +51,7 @@ src_prepare() {
 
        l10n_for_each_disabled_locale_do my_get_disabled_locales
 
-       einfo "Your LINGUAS lists the following languages: $LINGUAS"
+       einfo "Your LINGUAS lists the following languages: ${LINGUAS}"
 
        perl-module_src_prepare
 }