mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
kde5.eclass: Take care of empty po directory shipped by upstream
Uncovered by dev-libs/kreport-3.0.0.
This commit is contained in:
committed by
Michael Palimaka
parent
a881ea37f6
commit
cbdfd560b7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user