weston: Set XDG_RUNTIME_DIR for qcom
[AGL/meta-agl.git] / meta-agl-bsp / meta-qcom / recipes-graphics / wayland / weston / weston.sh
1 #!/bin/sh
2
3 if test -z "$XDG_RUNTIME_DIR"; then
4     export XDG_RUNTIME_DIR=/run/user/$UID
5     mkdir --parents $XDG_RUNTIME_DIR
6     chmod 0700 $XDG_RUNTIME_DIR
7 fi