diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-21 12:12:49 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-10-21 12:12:49 -0400 |
commit | 073690ee961fb0b624f704560ebf67b60d25a35d (patch) | |
tree | aa6fc00f7a571e7a40b872f2185797064ec5b43c /src | |
parent | 5d21c2c6eab632cc519eb23e529c2d985ac04921 (diff) | |
download | stasis-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.c | 2 |
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]; |