Bug 3955

Summary: invalid statements in /etc/profile.d/kde.csh
Product: [Retired] Red Hat Linux Reporter: eugenia
Component: kdesupportAssignee: David Lawrence <dkl>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-07-09 21:09:47 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 eugenia 1999-07-09 03:17:55 UTC
there are two invalid statements in the  KDE initialization
script (csh) that break it:

1) the statment
kdepath="${KDEDIR}/bin"
should really be
set kdepath="${KDEDIR}/bin"

2) the statement
if ( echo ${PATH} | grep -q ${kdepath} ) then
should really be something like
if ( `echo ${PATH} | grep -q ${kdepath}` ) then
so that | is interpreted as pipe rather than bitwise or

Comment 1 Jeff Johnson 1999-07-09 21:09:59 UTC
*** This bug has been marked as a duplicate of 3686 ***