Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xdm/dist/config Run the .profile script in th...



details:   https://anonhg.NetBSD.org/xsrc/rev/9b9f7b22ca10
branches:  trunk
changeset: 10837:9b9f7b22ca10
user:      nia <nia%NetBSD.org@localhost>
date:      Sat Dec 25 11:32:46 2021 +0000

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

diffstat:

 external/mit/xdm/dist/config/Xsession.in |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r de2e32a09228 -r 9b9f7b22ca10 external/mit/xdm/dist/config/Xsession.in
--- a/external/mit/xdm/dist/config/Xsession.in  Fri Dec 24 05:30:07 2021 +0000
+++ b/external/mit/xdm/dist/config/Xsession.in  Sat Dec 25 11:32:46 2021 +0000
@@ -64,6 +64,9 @@
                exec /bin/sh "$startup"
        fi
 else
+       if [ -f $HOME/.profile ]; then
+               . $HOME/.profile
+       fi
        if [ -r "$resources" ]; then
                BINDIR/xrdb -load "$resources"
        else



Home | Main Index | Thread Index | Old Index