commit: 3b6b9d43fb1ecdd7eb61fa86d041afa5e7d9e892
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 12:45:52 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Oct 26 17:20:01 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b6b9d43
kde5.eclass: nitpicks
eclass/kde5.eclass | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 7c648a1..85d2cd7 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -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
@@ -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