Bug 3870 - invalid C shell syntax in /etc/profile.d/kde.csh
invalid C shell syntax in /etc/profile.d/kde.csh
Status: CLOSED DUPLICATE of bug 3686
Product: Red Hat Linux
Classification: Retired
Component: kdesupport (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-07-02 11:27 EDT by jamie
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-07-02 14:17:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description jamie 1999-07-02 11:27:05 EDT
I just installed kdesupport-1.1.1-1 last night.  I noticed a
problem when I logged in this morning and traced it back to
/etc/profile.d/kde.csh.

Line 8:

	kdepath="${KDEDIR}/bin"

should probably be:

	set kdepath="${KDEDIR}/bin"

and line 9:

	if ( echo ${PATH} | grep -q ${kdepath} ) then

should probably be:

	if ( `echo ${PATH} | grep -q ${kdepath}` ) then

My login shell is tcsh, but logging in with the bad
/etc/profile.d/kde.csh script dumped me into bash with this
error message:

	kdepath=/usr/bin: Command not found

I'm not sure if this is a problem in other architectures
than i386.  Thanks.
Comment 1 jamie 1999-07-02 11:31:59 EDT
Sorry for the duplicate of Bug #3686 -- please ignore/delete this.
Comment 2 Jeff Johnson 1999-07-02 14:17:59 EDT
*** This bug has been marked as a duplicate of 3686 ***

Note You need to log in before you can comment on or make changes to this bug.