1 |
commit: 4cff5f9603282f0cd5a512914b572438e83039b1 |
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:24:47 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4cff5f96 |
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 |