SVN commit 1190780 by rkcosta: Backport r1190779.
Properly quote the call to 'export -p'. Even though bash (and dash) do not differ 'export' and 'export -p', that call was clearly wrong as the -p was being passed as a parameter to /bin/sh, not export. Thanks to M. Warner Losh for bringing that up. CCMAIL: i...@ixsystems.com CCMAIL: kde-freebsd@kde.org M +1 -1 genkdmconf.c --- branches/KDE/4.5/kdebase/workspace/kdm/kfrontend/genkdmconf.c #1190779:1190780 @@ -729,7 +729,7 @@ " 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" _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information