projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1d31c2
)
kde5.eclass: install all translations when LINGUAS is undefined
author
Michael Palimaka
<kensington@gentoo.org>
Fri, 20 May 2016 19:46:11 +0000
(21:46 +0200)
committer
Johannes Huber
<johu@gentoo.org>
Fri, 20 May 2016 19:47:15 +0000
(21:47 +0200)
This mirrors the behaviour of the gettext autotools macros.
Gentoo-bug: 581382
Signed-off-by: Johannes Huber <johu@gentoo.org>
eclass/kde5.eclass
patch
|
blob
|
history
diff --git
a/eclass/kde5.eclass
b/eclass/kde5.eclass
index 377d2c566734a71e01f1a9e31ea27f20e6fb7742..eaffb9e27cf94066177e3ea39f7ba0457ace4ce6 100644
(file)
--- a/
eclass/kde5.eclass
+++ b/
eclass/kde5.eclass
@@
-397,7
+397,7
@@
kde5_src_prepare() {
# enable only the requested translations
# when required
- if [[ -d po ]] ; then
+ if [[ -d po
&& -v LINGUAS
]] ; then
pushd po > /dev/null || die
for lang in *; do
if [[ -d ${lang} ]] && ! has ${lang} ${LINGUAS} ; then