[gedit/wip/3.14-osx: 18/18] [osx] Restore home after loading jhbuild config



commit e018164dedfc783a2799ee37cac01d381b94f039
Author: Jesse van den Kieboom <jesse wren local>
Date:   Fri Aug 22 10:59:50 2014 +0200

    [osx] Restore home after loading jhbuild config

 osx/build/build                  |    1 +
 osx/build/config/jhbuildrc-gedit |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/osx/build/build b/osx/build/build
index 3f2c6e8..8012006 100755
--- a/osx/build/build
+++ b/osx/build/build
@@ -101,6 +101,7 @@ function cmd_jh() {
        # Setup our jhbuild environment
        export GEDIT_OSX_SOURCE_BASE="$D"
        export GEDIT_OSX_BUILD_BASE="$BASED"
+       export __GEDIT_OSX_OLD_HOME="$HOME"
        export HOME="$HOMED"
        export JHB=gedit
 
diff --git a/osx/build/config/jhbuildrc-gedit b/osx/build/config/jhbuildrc-gedit
index c0a0a2d..a11a19a 100644
--- a/osx/build/config/jhbuildrc-gedit
+++ b/osx/build/config/jhbuildrc-gedit
@@ -31,3 +31,5 @@ setup_sdk(target=_gsdk, sdk_version=_gsdk, architectures=['x86_64'])
 modulesets_dir = os.path.join(_sourcedir, "modulesets")
 moduleset = "gedit.modules"
 modules = ["gedit"]
+
+os.environ['HOME'] = os.environ['__GEDIT_OSX_OLD_HOME']


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