diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-02-27 14:41:22 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-02-27 14:41:22 +0000 |
commit | 755a021dd10786f564fba86be431f04017348128 (patch) | |
tree | f10b6ca77fd136f1464c6c8bbef44ebed0e0f5d5 /src | |
parent | 45ce973f67de950ba14bd691b12c94cec9cd7e9f (diff) | |
download | xine-lib-755a021dd10786f564fba86be431f04017348128.tar.gz xine-lib-755a021dd10786f564fba86be431f04017348128.tar.bz2 |
libxdg-basedir requires $HOME to be set, so make sure that it's set.
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 31b1f254d..c3896c353 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -1740,6 +1740,7 @@ void xine_init (xine_t *this) { "extension", NULL}; /* First of all, initialise libxdg-basedir as it's used by plugins. */ + setenv ("HOME", xine_get_homedir (), 0); /* libxdg-basedir needs $HOME */ xdgInitHandle(&this->basedir_handle); /* |