Module Name:    xsrc
Committed By:   nia
Date:           Sat Dec 25 11:32:46 UTC 2021

Modified Files:
        xsrc/external/mit/xdm/dist/config: Xsession.in

Log Message:
Run the .profile script in the default xsession to ensure that
the PATH is set properly when starting X from xdm.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 xsrc/external/mit/xdm/dist/config/Xsession.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xdm/dist/config/Xsession.in
diff -u xsrc/external/mit/xdm/dist/config/Xsession.in:1.8 xsrc/external/mit/xdm/dist/config/Xsession.in:1.9
--- xsrc/external/mit/xdm/dist/config/Xsession.in:1.8	Mon Oct 12 12:11:55 2020
+++ xsrc/external/mit/xdm/dist/config/Xsession.in	Sat Dec 25 11:32:46 2021
@@ -64,6 +64,9 @@ if [ -s "$startup" ]; then
 		exec /bin/sh "$startup"
 	fi
 else
+	if [ -f $HOME/.profile ]; then
+		. $HOME/.profile
+	fi
 	if [ -r "$resources" ]; then
 		BINDIR/xrdb -load "$resources"
 	else

Reply via email to