diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-07-30 11:41:08 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-07-30 11:41:08 -0300 |
commit | f4ad8fe84e96d355c46cd94a0e30330b83861dc2 (patch) | |
tree | 6f08a42d3a1eb64e18d4c13b4d41683fae9c80e9 | |
parent | b006c2c56fe0b83a3baf6a10a1e7dbe196051b8d (diff) |
Fix path prefix for OSX
-rw-r--r-- | changes/bug-path_prefix | 2 | ||||
-rw-r--r-- | src/leap/common/config/prefixers.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/changes/bug-path_prefix b/changes/bug-path_prefix new file mode 100644 index 0000000..f112eba --- /dev/null +++ b/changes/bug-path_prefix @@ -0,0 +1,2 @@ + o OSX: Fix problem with path prefix not returning the correct + value. Fixes #3273.
\ No newline at end of file diff --git a/src/leap/common/config/prefixers.py b/src/leap/common/config/prefixers.py index 050d4cd..9a5b043 100644 --- a/src/leap/common/config/prefixers.py +++ b/src/leap/common/config/prefixers.py @@ -95,7 +95,7 @@ class DarwinPrefixer(Prefixer): config_dir = BaseDirectory.xdg_config_home if not standalone: return config_dir - return os.getenv(os.getcwd(), "config") + return os.path.join(os.getcwd(), "config") class WindowsPrefixer(Prefixer): |