Fix runtime workaround

This commit is contained in:
Buddy Sandidge 2021-04-30 20:27:27 -07:00
parent 6f597ff261
commit 5177645c2b

View File

@ -16,7 +16,7 @@ if [ "${XDG_RUNTIME_DIR}" = "" ]; then
if [ -L "${__LINK__}" ]; then
__TMPDIR__="$(readlink "${__LINK__}")"
else
__TMPDIR__="$(mktemp)"
__TMPDIR__="$(mktemp -d)"
ln -s "${__TMPDIR__}" "${__LINK__}"
fi
XDG_RUNTIME_DIR="${__TMPDIR__}"