Skip to content

Commit

Permalink
kde5.eclass: nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
kensington committed Oct 26, 2015
1 parent d308bf4 commit 3b6b9d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eclass/kde5.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ kde5_src_prepare() {
# when required
if [[ ${KDE_BUILD_TYPE} = release ]] ; then
if [[ -d po ]] ; then
pushd po > /dev/null
pushd po > /dev/null || die
for lang in *; do
if ! has ${lang} ${LINGUAS} ; then
if [[ ${lang} != CMakeLists.txt ]] ; then
Expand All @@ -406,17 +406,17 @@ kde5_src_prepare() {
fi
fi
done
popd > /dev/null
popd > /dev/null || die
fi

if [[ ${KDE_HANDBOOK} = true && -d ${KDE_DOC_DIR} && ${CATEGORY} != kde-apps ]] ; then
pushd ${KDE_DOC_DIR} > /dev/null
pushd ${KDE_DOC_DIR} > /dev/null || die
for lang in *; do
if ! has ${lang} ${LINGUAS} ; then
comment_add_subdirectory ${lang}
fi
done
popd > /dev/null
popd > /dev/null || die
fi
else
rm -rf po
Expand Down

0 comments on commit 3b6b9d4

Please sign in to comment.