1 |
commit: 80c3b2106c7f9c6184ea8a230b328364c8cfc1d0 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 23 14:23:34 2015 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 24 21:56:29 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80c3b210 |
7 |
|
8 |
xdg-utils.eclass: add missing die |
9 |
|
10 |
eclass/xdg-utils.eclass | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/eclass/xdg-utils.eclass b/eclass/xdg-utils.eclass |
14 |
index 1f97623..e8dacff 100644 |
15 |
--- a/eclass/xdg-utils.eclass |
16 |
+++ b/eclass/xdg-utils.eclass |
17 |
@@ -54,10 +54,10 @@ xdg_environment_reset() { |
18 |
export XDG_CACHE_HOME="${T}/.cache" |
19 |
export XDG_RUNTIME_DIR="${T}/run" |
20 |
mkdir -p "${XDG_DATA_HOME}" "${XDG_CONFIG_HOME}" "${XDG_CACHE_HOME}" \ |
21 |
- "${XDG_RUNTIME_DIR}" |
22 |
+ "${XDG_RUNTIME_DIR}" || die |
23 |
# This directory needs to be owned by the user, and chmod 0700 |
24 |
# http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html |
25 |
- chmod 0700 "${XDG_RUNTIME_DIR}" |
26 |
+ chmod 0700 "${XDG_RUNTIME_DIR}" || die |
27 |
|
28 |
unset DBUS_SESSION_BUS_ADDRESS |
29 |
} |