Bug 3832

Summary: /etc/profile.d/kde.csh has invalid code
Product: [Retired] Red Hat Linux Reporter: A.J. Aranyosi <aja>
Component: kdesupportAssignee: David Lawrence <dkl>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-30 22:50:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description A.J. Aranyosi 1999-06-30 18:28:21 UTC
The file /etc/profile.d/kde.csh in the updated kdesupport
package (kdesupport-1.1.1-1) contains the followine line of
sh code:
  kdepath="${KDEDIR}/bin"
which should read
  setenv kdepath "${KDEDIR}/bin"

Net result:
When a user whose default shell is csh tries to log in (or
open an xterm, etc), the script fails at this line, printing
the following message in the user's window:
 kdepath=/usr/bin: Command not found.
 kdepath: Undefined variable.
The user's .cshrc is not executed.

Comment 1 A.J. Aranyosi 1999-06-30 18:35:59 UTC
One more change:  the line
 if ( echo ${PATH} | grep -q ${kdepath} ) then
should read
if ( `echo ${PATH} | grep -q ${kdepath}` ) then

Comment 2 Jeff Johnson 1999-06-30 22:50:59 UTC
*** This bug has been marked as a duplicate of 3686 ***