From 8a8e14353cf5f611540620ddc5c238d9b370d8aa Mon Sep 17 00:00:00 2001 From: Hanno Date: Sat, 15 Oct 2016 19:03:58 +0200 Subject: [PATCH] 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 --- app-arch/unp/unp-2.0_pre7_p1-r1.ebuild | 4 ++-- 1 file 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 } -- 2.26.2