From 4099888890cbb003741c45968087c9c5f5fde833 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 6 Mar 2021 15:30:31 +0100 Subject: [PATCH] 30_env.ax-io: Create individual XDG_RUNTIME_DIR, when not set --- core/30_env/30_env.ax-io | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/30_env/30_env.ax-io b/core/30_env/30_env.ax-io index 803f30e..1910bd4 100644 --- a/core/30_env/30_env.ax-io +++ b/core/30_env/30_env.ax-io @@ -27,7 +27,7 @@ export XDG_CACHE_HOME # Setup XDG runtime directory if [[ -z "$XDG_RUNTIME_DIR" ]]; then - XDG_RUNTIME_DIR="${TMPDIR:-/tmp/${UID}-runtime-dir}" + XDG_RUNTIME_DIR="$TMPDIR/runtime-dir.$UID" fi if [[ ! -d "$XDG_RUNTIME_DIR" ]]; then mkdir -p "$XDG_RUNTIME_DIR" -- 2.39.2