projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a881ea3
)
kde5.eclass: Take care of empty po directory shipped by upstream
author
Andreas Sturmlechner
<andreas.sturmlechner@gmail.com>
Sun, 9 Oct 2016 20:53:14 +0000
(22:53 +0200)
committer
Michael Palimaka
<kensington@gentoo.org>
Wed, 9 Nov 2016 15:23:55 +0000
(
02:23
+1100)
Uncovered by dev-libs/kreport-3.0.0.
eclass/kde5.eclass
patch
|
blob
|
history
diff --git
a/eclass/kde5.eclass
b/eclass/kde5.eclass
index e2a42e044cd0d93f34c9bb3d64b0ffd18025eeea..47e3d4624efb14626adc18fe8529db00ad17f4ad 100644
(file)
--- a/
eclass/kde5.eclass
+++ b/
eclass/kde5.eclass
@@
-540,7
+540,7
@@
EOF
if [[ -e CMakeLists.txt ]] ; then
cmake_comment_add_subdirectory ${lang}
fi
- elif ! has ${lang/.po/} ${LINGUAS} ; then
+ elif
[[ -f ${lang} ]] &&
! has ${lang/.po/} ${LINGUAS} ; then
if [[ ${lang} != CMakeLists.txt && ${lang} != ${PN}.pot ]] ; then
rm ${lang} || die
fi