summaryrefslogtreecommitdiff
path: root/x11/kdebase3/patches/patch-aw
blob: f8bcf557b9be277944108f10d178b713addcbf78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aw,v 1.9 2011/01/25 11:13:13 markd Exp $

Fix login non-kde session with csh/tcsh

--- kdm/kfrontend/genkdmconf.c.orig	2008-02-13 09:40:49.000000000 +0000
+++ kdm/kfrontend/genkdmconf.c
@@ -673,7 +673,7 @@ static const char def_session1[] =
 "    xsess_tmp=";
 static const char def_session2[] =
 "\n"
-"    $SHELL -c \"if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export -p >! $xsess_tmp\"\n"
+"    $SHELL -c \"if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c 'export -p' >! $xsess_tmp\"\n"
 "    . $xsess_tmp\n"
 "    rm -f $xsess_tmp\n"
 "    ;;\n"