[OE-core] [PATCH 1/3] x11-common: Fix XDG_RUNTIME_DIR typo

Tom Hochstein tom.hochstein at nxp.com
Thu Jun 9 19:27:04 UTC 2016


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

Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
---
 .../x11-common/x11-common/etc/X11/Xsession.d/13xdgbasedirs.sh       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession.d/13xdgbasedirs.sh b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession.d/13xdgbasedirs.sh
index 91594b9..6bd40b2 100644
--- a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession.d/13xdgbasedirs.sh
+++ b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession.d/13xdgbasedirs.sh
@@ -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
-- 
1.9.1




More information about the Openembedded-core mailing list