From: Tom Hochstein Date: Thu, 9 Jun 2016 19:27:04 +0000 (-0500) Subject: x11-common: Fix XDG_RUNTIME_DIR typo X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25425 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8db2be8b246362aff9931a31882fa3bab0043419;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git x11-common: Fix XDG_RUNTIME_DIR typo Fix the if-statement that had misspelled XDG_RUNTIME_DIR. Also fix whitespace. Signed-off-by: Tom Hochstein Signed-off-by: Ross Burton --- 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 91594b9e3d3..6bd40b2fc57 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