summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug-path_prefix2
-rw-r--r--src/leap/common/config/prefixers.py2
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):