commit: ddd6e319e56805c8ebb5e8f9a2bba947d7dcc8a3
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Fri Jul 8 14:00:56 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Aug 31 14:23:26 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd6e319
kde5.eclass: Don't remove existing po/${PN}.pot file
eclass/kde5.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 5423c38..887a84b 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -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