aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/source/user/xdg/xdg-runtime-dir/up
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/source/user/xdg/xdg-runtime-dir/up')
-rw-r--r--src/lib/source/user/xdg/xdg-runtime-dir/up10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/source/user/xdg/xdg-runtime-dir/up b/src/lib/source/user/xdg/xdg-runtime-dir/up
new file mode 100644
index 0000000..518e994
--- /dev/null
+++ b/src/lib/source/user/xdg/xdg-runtime-dir/up
@@ -0,0 +1,10 @@
+#!@shebangdir@/execlineb -P
+
+# ISC license.
+# https://specifications.freedesktop.org/basedir-spec/latest/
+
+fdmove -c 2 1
+
+importas -Si XDG_RUNTIME_DIR
+
+if { mkdir -p -m700 -- ${XDG_RUNTIME_DIR} }