[jhbuild] environment: fix variable setting



commit b2a0a6a5c5612b40668b9abb7397bfe665f4b86f
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sun Jun 29 22:45:52 2014 +0200

    environment: fix variable setting
    
    This is not shell

 jhbuild/environment.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jhbuild/environment.py b/jhbuild/environment.py
index d098047..7633507 100644
--- a/jhbuild/environment.py
+++ b/jhbuild/environment.py
@@ -96,11 +96,11 @@ def setup_env_defaults(system_libdirs):
 
     # XDG_CONFIG_DIRS
     if not 'XDG_CONFIG_DIRS' in os.environ:
-        XDG_CONFIG_DIRS='/etc/xdg'
+        os.environ['XDG_CONFIG_DIRS']='/etc/xdg'
 
     # ACLOCAL_PATH
     if not 'ACLOCAL_PATH' in os.environ:
-        ACLOCAL_PATH='/usr/share/aclocal'
+        os.environ['ACLOCAL_PATH']='/usr/share/aclocal'
 
     # get rid of gdkxft from the env -- it will cause problems.
     if os.environ.has_key('LD_PRELOAD'):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]