summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2015-10-24 13:59:34 +0200
committerMichael Palimaka <kensington@gentoo.org>2015-10-27 04:20:00 +1100
commitb047be9d2ec0f55138f75d7eb950707a9f28f0dd (patch)
tree04198b601e89d395901f937f9e58ba2c9aa5d977
parentapp-crypt/pinentry: Enable qt5 as possible single backend and fix symlink (diff)
downloadgentoo-b047be9d2ec0f55138f75d7eb950707a9f28f0dd.tar.gz
gentoo-b047be9d2ec0f55138f75d7eb950707a9f28f0dd.tar.bz2
gentoo-b047be9d2ec0f55138f75d7eb950707a9f28f0dd.zip
kde4-functions.eclass: add missing '|| die' on pushd/popd
-rw-r--r--eclass/kde4-functions.eclass4
1 files changed, 2 insertions, 2 deletions
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