[gtk-osx: 29/48] Correct missing variable errors.



commit c65712f183167eb818b59674a91e838c21dd5c94
Author: John Ralls <jralls ceridwen us>
Date:   Sat Apr 13 15:15:18 2019 -0700

    Correct missing variable errors.

 jhbuildrc-gtk-osx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index 0dd4d93..12b69bd 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -406,7 +406,9 @@ if _osx_version < 8.0:
 _this_dir = os.path.dirname(__file__);
 _home = os.path.expanduser('~')
 _user_config_dir = os.environ.get('XDG_CONFIG_HOME',
-                                  os.path.join(home, '.config'))
+                                  os.path.join(_home, '.config'))
+
+_user_rc = ''
 if ('JHBUILDRC_CUSTOM' in os.environ and
     os.environ['JHBUILDRC_CUSTOM']):
     _user_rc = os.environ['JHBUILDRC_CUSTOM']


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