Home | History | Annotate | Download | only in patches
      1  15527  gheet diff -urN dtlogin-integration-0.36.orig/config/Xsession.in dtlogin-integration-0.36.hacked/config/Xsession.in
      2  15527  gheet --- dtlogin-integration-0.36.orig/config/Xsession.in	2008-08-29 12:20:36.000000000 -0100
      3  15527  gheet +++ dtlogin-integration-0.36.hacked/config/Xsession.in	2008-09-19 17:53:48.405539000 -0100
      4  15527  gheet @@ -21,6 +21,16 @@
      5  15527  gheet  
      6  15527  gheet  command=/usr/dt/bin/Xsession
      7  15527  gheet  
      8  15527  gheet -eval `dbus-launch --exit-with-session --auto-syntax`
      9  15527  gheet +# Save a copy of the user's SHELL value and restore after dbus-launch command
     10  15527  gheet +shell_saved=$SHELL
     11  15527  gheet +
     12  15527  gheet +# Tell dbus-launch we want the environment value in ksh compatible syntax
     13  15527  gheet +export SHELL=/bin/ksh
     14  15527  gheet +eval `dbus-launch --exit-with-session --sh-syntax`
     15  15527  gheet +
     16  15527  gheet +# unset SHELL and restore user's value
     17  15527  gheet +unset SHELL
     18  15527  gheet +export SHELL=$shell_saved
     19  15527  gheet  
     20  15527  gheet  exec $command
     21  15527  gheet +
     22