public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:gnome-xdg-eclasses commit in: eclass/
@ 2015-11-23 14:38 99% Gilles Dartiguelongue
  0 siblings, 0 replies; 1+ results
From: Gilles Dartiguelongue @ 2015-11-23 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     eb01e473ab6b9448dcb1ff670cc7ae7a5706d777
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 23 14:31:54 2015 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Nov 23 14:31:54 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb01e473

xdg-utils.eclass: use $HOME instead of $T

As in original eclass proposition by Mike, mimic default behavior by
using portage HOME which is set to a temporary directory.

 eclass/xdg-utils.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/xdg-utils.eclass b/eclass/xdg-utils.eclass
index d62b27d..d140283 100644
--- a/eclass/xdg-utils.eclass
+++ b/eclass/xdg-utils.eclass
@@ -49,9 +49,9 @@ esac
 # Clean up environment for clean builds.
 xdg_environment_reset() {
 	# Prepare XDG base directories
-	export XDG_DATA_HOME="${T}/.local/share"
-	export XDG_CONFIG_HOME="${T}/.config"
-	export XDG_CACHE_HOME="${T}/.cache"
+	export XDG_DATA_HOME="${HOME}/.local/share"
+	export XDG_CONFIG_HOME="${HOME}/.config"
+	export XDG_CACHE_HOME="${HOME}/.cache"
 	export XDG_RUNTIME_DIR="${T}/run"
 	mkdir -p "${XDG_DATA_HOME}" "${XDG_CONFIG_HOME}" "${XDG_CACHE_HOME}" \
 		"${XDG_RUNTIME_DIR}" || die


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-23 14:38 99% [gentoo-commits] repo/gentoo:gnome-xdg-eclasses commit in: eclass/ Gilles Dartiguelongue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox