From: Julian Ospald Date: Sat, 24 Oct 2015 11:59:34 +0000 (+0200) Subject: kde4-functions.eclass: add missing '|| die' on pushd/popd X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b047be9d2ec0f55138f75d7eb950707a9f28f0dd;p=gentoo.git kde4-functions.eclass: add missing '|| die' on pushd/popd --- diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index 133fd264b841..d2fd060c80a3 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -351,7 +351,7 @@ _enable_selected_linguas_dir() { [[ -d ${dir} ]] || die "linguas dir \"${dir}\" does not exist" comment_all_add_subdirectory "${dir}" - pushd "${dir}" > /dev/null + pushd "${dir}" > /dev/null || die # fix all various crazy sr@Latn variations # this part is only ease for ebuilds, so there wont be any die when this @@ -390,7 +390,7 @@ _enable_selected_linguas_dir() { done [[ -n ${linguas} ]] && echo ">>> Enabling languages: ${linguas}" - popd > /dev/null + popd > /dev/null || die } # @FUNCTION: get_kde_version