]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
x11-common: Fix XDG_RUNTIME_DIR typo
authorTom Hochstein <tom.hochstein@nxp.com>
Thu, 9 Jun 2016 19:27:04 +0000 (14:27 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jun 2016 22:42:35 +0000 (23:42 +0100)
Fix the if-statement that had misspelled XDG_RUNTIME_DIR.
Also fix whitespace.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession.d/13xdgbasedirs.sh

index 91594b9e3d33fc7d71da27f0eca66c2e46abf7c6..6bd40b2fc571fbbac5e0292dd6f70a4c3e01b803 100644 (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