x11-common: Fix XDG_RUNTIME_DIR typo

Fix the if-statement that had misspelled XDG_RUNTIME_DIR.
Also fix whitespace.

(From OE-Core rev: 8db2be8b246362aff9931a31882fa3bab0043419)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tom Hochstein
2016-06-09 14:27:04 -05:00
committed by Richard Purdie
parent 5edb12b017
commit be82bdd592

View File

@@ -7,7 +7,7 @@
# In the ideal case where SystemD is booting and userspace is initiated by a
# SystemD user session this will have been set already, so don't overwrite it.
if [ -z "$XGD_RUNTIME_DIR" ]; then
XDG_RUNTIME_DIR="/tmp"
export XDG_RUNTIME_DIR
if [ -z "$XDG_RUNTIME_DIR" ]; then
XDG_RUNTIME_DIR="/tmp"
export XDG_RUNTIME_DIR
fi