diff options
Diffstat (limited to 'lxde-base/lxdm/files/lxdm-0.4.1-fix-session-args.patch')
-rw-r--r-- | lxde-base/lxdm/files/lxdm-0.4.1-fix-session-args.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-fix-session-args.patch b/lxde-base/lxdm/files/lxdm-0.4.1-fix-session-args.patch new file mode 100644 index 00000000..11bacdbb --- /dev/null +++ b/lxde-base/lxdm/files/lxdm-0.4.1-fix-session-args.patch @@ -0,0 +1,29 @@ +diff -Nurp data//Xsession data.new//Xsession +--- data//Xsession 2011-07-29 15:42:33.000000000 +0200 ++++ data.new//Xsession 2012-01-04 15:49:39.009452532 +0100 +@@ -20,7 +20,7 @@ if [ -f /etc/X11/xinit/xinitrc-common ]; + elif [ -x /usr/bin/ck-launch-session -a -z "$CK_XINIT_SESSION" ]; then + CK_XINIT_SESSION="/usr/bin/ck-launch-session" + fi +- exec -l $SHELL -c "$CK_XINIT_SESSION \"$LXSESSION\"" ++ exec -l "$SHELL" -c "$CK_XINIT_SESSION $LXSESSION" + elif [ -x /etc/X11/xinit/Xsession ]; then + # fedora + exec /etc/X11/xinit/Xsession "$LXSESSION" +@@ -30,7 +30,7 @@ elif [ -x /etc/X11/Xsession ]; then + elif [ -x /etc/X11/xinit/xinitrc ]; then + #suse + export WINDOWMANAGER=$LXSESSION +- exec -l $SHELL -c /etc/X11/xinit/xinitrc ++ exec -l "$SHELL" -c /etc/X11/xinit/xinitrc + else + # unknown, user should custom /etc/lxdm/xinitrc self + if [ -x /etc/lxdm/xinitrc ]; then +@@ -41,6 +41,6 @@ else + elif [ -x /usr/bin/ck-launch-session ]; then + CK_XINIT_SESSION="/usr/bin/ck-launch-session" + fi +- exec -l $SHELL -c "$CK_XINIT_SESSION \"$LXSESSION\"" ++ exec -l "$SHELL" -c "$CK_XINIT_SESSION $LXSESSION" + fi + |