diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-10-12 23:45:52 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-10-27 04:20:01 +1100 |
commit | 3b6b9d43fb1ecdd7eb61fa86d041afa5e7d9e892 (patch) | |
tree | 597706a4859b0863d25219c72898c6fe016d9f6b /eclass | |
parent | kde4-meta.eclass: add missing '|| die' on pushd/popd (diff) | |
download | gentoo-3b6b9d43fb1ecdd7eb61fa86d041afa5e7d9e892.tar.gz gentoo-3b6b9d43fb1ecdd7eb61fa86d041afa5e7d9e892.tar.bz2 gentoo-3b6b9d43fb1ecdd7eb61fa86d041afa5e7d9e892.zip |
kde5.eclass: nitpicks
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde5.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 7c648a16b5d8..85d2cd77450a 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 |