kde5.eclass: Don't remove existing po/${PN}.pot file

This commit is contained in:
Andreas Sturmlechner
2016-09-01 00:23:26 +10:00
committed by Michael Palimaka
parent b67c14fe1d
commit ddd6e319e5
+1 -1
View File
@@ -462,7 +462,7 @@ EOF
cmake_comment_add_subdirectory ${lang}
fi
elif ! has ${lang/.po/} ${LINGUAS} ; then
if [[ ${lang} != CMakeLists.txt ]] ; then
if [[ ${lang} != CMakeLists.txt && ${lang} != ${PN}.pot ]] ; then
rm ${lang} || die
fi
fi