aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-21 12:12:49 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-21 12:12:49 -0400
commit073690ee961fb0b624f704560ebf67b60d25a35d (patch)
treeaa6fc00f7a571e7a40b872f2185797064ec5b43c /src
parent5d21c2c6eab632cc519eb23e529c2d985ac04921 (diff)
downloadstasis-073690ee961fb0b624f704560ebf67b60d25a35d.tar.gz
Bug fix:
* XDG_CACHE_HOME is now pointing to cache_local instead of TMPDIR
Diffstat (limited to 'src')
-rw-r--r--src/lib/core/delivery_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/delivery_init.c b/src/lib/core/delivery_init.c
index e914f99..2333628 100644
--- a/src/lib/core/delivery_init.c
+++ b/src/lib/core/delivery_init.c
@@ -257,7 +257,7 @@ int delivery_init(struct Delivery *ctx, int render_mode) {
char cache_local[PATH_MAX];
sprintf(cache_local, "%s/%s", ctx->storage.tmpdir, "cache");
- setenv("XDG_CACHE_HOME", ctx->storage.tmpdir, 1);
+ setenv("XDG_CACHE_HOME", cache_local, 1);
// add tools to PATH
char pathvar_tmp[STASIS_BUFSIZ];