1 |
commit: eb01e473ab6b9448dcb1ff670cc7ae7a5706d777 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 23 14:31:54 2015 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 23 14:31:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb01e473 |
7 |
|
8 |
xdg-utils.eclass: use $HOME instead of $T |
9 |
|
10 |
As in original eclass proposition by Mike, mimic default behavior by |
11 |
using portage HOME which is set to a temporary directory. |
12 |
|
13 |
eclass/xdg-utils.eclass | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/eclass/xdg-utils.eclass b/eclass/xdg-utils.eclass |
17 |
index d62b27d..d140283 100644 |
18 |
--- a/eclass/xdg-utils.eclass |
19 |
+++ b/eclass/xdg-utils.eclass |
20 |
@@ -49,9 +49,9 @@ esac |
21 |
# Clean up environment for clean builds. |
22 |
xdg_environment_reset() { |
23 |
# Prepare XDG base directories |
24 |
- export XDG_DATA_HOME="${T}/.local/share" |
25 |
- export XDG_CONFIG_HOME="${T}/.config" |
26 |
- export XDG_CACHE_HOME="${T}/.cache" |
27 |
+ export XDG_DATA_HOME="${HOME}/.local/share" |
28 |
+ export XDG_CONFIG_HOME="${HOME}/.config" |
29 |
+ export XDG_CACHE_HOME="${HOME}/.cache" |
30 |
export XDG_RUNTIME_DIR="${T}/run" |
31 |
mkdir -p "${XDG_DATA_HOME}" "${XDG_CONFIG_HOME}" "${XDG_CACHE_HOME}" \ |
32 |
"${XDG_RUNTIME_DIR}" || die |