Show More
@@ -83,7 +83,7 b' def _usercachedir(ui):' | |||
|
83 | 83 | home = encoding.environ.get('HOME') |
|
84 | 84 | if home: |
|
85 | 85 | return os.path.join(home, 'Library', 'Caches', longname) |
|
86 |
elif pycompat. |
|
|
86 | elif pycompat.isposix: | |
|
87 | 87 | path = encoding.environ.get('XDG_CACHE_HOME') |
|
88 | 88 | if path: |
|
89 | 89 | return os.path.join(path, longname) |
General Comments 0
You need to be logged in to leave comments.
Login now