kde5.eclass: Don't remove CMakeLists.txt in po directory

This commit is contained in:
Andreas Sturmlechner
2016-03-12 21:15:13 +01:00
committed by Michael Palimaka
parent 9be358b616
commit 3df75d06f0

View File

@@ -397,7 +397,9 @@ kde5_src_prepare() {
cmake_comment_add_subdirectory ${lang}
fi
elif ! has ${lang/.po/} ${LINGUAS} ; then
rm ${lang} || die
if [[ ${lang} != CMakeLists.txt ]] ; then
rm ${lang} || die
fi
fi
done
popd > /dev/null || die