Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 26 Oct 2015 17:20:18
Message-Id: 1445880000.b047be9d2ec0f55138f75d7eb950707a9f28f0dd.kensington@gentoo
1 commit: b047be9d2ec0f55138f75d7eb950707a9f28f0dd
2 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 24 11:59:34 2015 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 26 17:20:00 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b047be9d
7
8 kde4-functions.eclass: add missing '|| die' on pushd/popd
9
10 eclass/kde4-functions.eclass | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass
14 index 133fd26..d2fd060 100644
15 --- a/eclass/kde4-functions.eclass
16 +++ b/eclass/kde4-functions.eclass
17 @@ -351,7 +351,7 @@ _enable_selected_linguas_dir() {
18
19 [[ -d ${dir} ]] || die "linguas dir \"${dir}\" does not exist"
20 comment_all_add_subdirectory "${dir}"
21 - pushd "${dir}" > /dev/null
22 + pushd "${dir}" > /dev/null || die
23
24 # fix all various crazy sr@Latn variations
25 # this part is only ease for ebuilds, so there wont be any die when this
26 @@ -390,7 +390,7 @@ _enable_selected_linguas_dir() {
27 done
28 [[ -n ${linguas} ]] && echo ">>> Enabling languages: ${linguas}"
29
30 - popd > /dev/null
31 + popd > /dev/null || die
32 }
33
34 # @FUNCTION: get_kde_version