From kde-bugs-dist Mon Aug 30 18:55:51 1999 From: Igor Sheyn Date: Mon, 30 Aug 1999 18:55:51 +0000 To: kde-bugs-dist Subject: Bug#1857: kde.csh fix X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=93603928022028 Package: kdesupport Version: 1.1.1 The following patch is needed for a user with /bin/tcsh as a login shell to log in from console or through telnet without errors: --- /etc/profile.d/kde.csh~ Mon Aug 30 14:49:20 1999 +++ /etc/profile.d/kde.csh Mon Aug 30 14:49:42 1999 @@ -5,8 +5,8 @@ endif endif setenv KDEDIR /usr -kdepath="${KDEDIR}/bin" -if ( echo ${PATH} | grep -q ${kdepath} ) then +set kdepath="${KDEDIR}/bin" +if ( `echo ${PATH} | grep -q ${kdepath}` ) then exit endif Without this patch, the following error is displayed and the rest of login scripts is not executed: kdepath=/usr/bin: Command not found. kdepath: Undefined variable. Thanks Igor