Skip to content

Commit a1b21b9

Browse files
Create cache specific folder
1 parent 14dacd7 commit a1b21b9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/deploy/build.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,11 @@ def __init__(
194194
self.force: bool = force
195195
self.prefix: Path = prefix
196196
self.storepath: Path = prefix / config.paths.store
197-
self.cachepath = Path(os.environ.get("XDG_CACHE_HOME", Path.home() / ".cache"))
197+
self.cachepath = (
198+
Path(os.environ.get("XDG_CACHE_HOME", Path.home() / ".cache"))
199+
/ "cirrus-deploy"
200+
)
201+
self.cachepath.mkdir(exist_ok=True, parents=True)
198202
buildmap = {x.name: x for x in config.builds}
199203

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

0 commit comments

Comments
 (0)