summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno <hanno@gentoo.org>2016-10-15 19:03:58 +0200
committerHanno <hanno@gentoo.org>2016-10-15 19:03:58 +0200
commit8a8e14353cf5f611540620ddc5c238d9b370d8aa (patch)
treea4b19becb88281cc45b7fc79ff2d2838853267c2 /app-arch
parentnet-p2p/go-ethereum: version bump to 1.4.18 (diff)
downloadgentoo-8a8e14353cf5f611540620ddc5c238d9b370d8aa.tar.gz
gentoo-8a8e14353cf5f611540620ddc5c238d9b370d8aa.tar.bz2
gentoo-8a8e14353cf5f611540620ddc5c238d9b370d8aa.zip
app-arch/unp: fix LINGUAS variable handling
The previous variant fails if there are more than two entries in LINGUAS. Thanks to sping for pointing that out. Package-Manager: portage-2.3.2
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/unp/unp-2.0_pre7_p1-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild b/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild
index 0c2a68df8c29..1194f7d9dc89 100644
--- a/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild
+++ b/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild
@@ -28,7 +28,7 @@ PATCHES=( "${FILESDIR}/${P}-remove-deprecated-have.diff" )
src_compile() {
if use nls; then
strip-linguas -i .
- emake -C po MOFILES="${LINGUAS/ /.po }.po"
+ emake -C po MOFILES="${LINGUAS// /.po }.po"
fi
}
@@ -40,6 +40,6 @@ src_install() {
dobashcomp bash_completion.d/unp
if use nls; then
- emake -C po MOFILES="${LINGUAS/ /.mo }.mo" DESTDIR="${D}" install
+ emake -C po MOFILES="${LINGUAS// /.mo }.mo" DESTDIR="${D}" install
fi
}