summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-12 21:15:13 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-03-14 03:41:52 +1100
commit3df75d06f010fd61ba611afe837178f2015fb688 (patch)
treeab5c498eaa7375bd0dbaa732ec7c324f5e97322f /eclass/kde5.eclass
parentmedia-gfx/scrot: Add missing die. (diff)
downloadgentoo-3df75d06f010fd61ba611afe837178f2015fb688.tar.gz
gentoo-3df75d06f010fd61ba611afe837178f2015fb688.tar.bz2
gentoo-3df75d06f010fd61ba611afe837178f2015fb688.zip
kde5.eclass: Don't remove CMakeLists.txt in po directory
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index e80552a31505..406129e877f5 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -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