Skip to content

Commit 005bc69

Browse files
Use unix cache path
Following unix standard for cache path
1 parent 682abaf commit 005bc69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deploy/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def __init__(
192192
self.force: bool = force
193193
self.prefix: Path = prefix
194194
self.storepath: Path = prefix / config.paths.store
195-
self.cachepath: Path = Path("tmp").resolve()
195+
self.cachepath = Path(os.environ.get("XDG_CACHE_HOME", Path.home() / ".cache"))
196196
buildmap = {x.name: x for x in config.builds}
197197

198198
self.storepath.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)