Bug 3639 - Bad commands in /etc/profile.d/kde.csh
Bad commands 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
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-22 14:13 EDT by Kolar, Petr
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-06-29 11:44:56 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 Kolar, Petr 1999-06-22 14:13:10 EDT
If a user has tcsh as her primary shell, the error message
would be displayed after login and some other bad things
would happen. The problem is in file /etc/profile.d/kde.csh,
where somebody forgot to change shell commands to csh
commands.

Following patch should fix the bug:


*** /etc/profile.d/kde.csh      Mon Jun 21 20:28:21 1999
--- /etc/profile.d/kde.csh.pk   Tue Jun 22 19:29:51 1999
***************
*** 5,13 ****
           endif
  endif
  setenv KDEDIR /usr
! kdepath="${KDEDIR}/bin"
! if ( echo ${PATH} | grep -q ${kdepath} ) then
!   exit
! endif
!
! setenv PATH "${kdepath}:${PATH}"
--- 5,10 ----
           endif
  endif
  setenv KDEDIR /usr
! set kdepath="${KDEDIR}/bin"
! echo ${PATH} | grep -q ${kdepath} || \
!   setenv PATH "${kdepath}:${PATH}"
Comment 1 Derek Tattersall 1999-06-29 11:44: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.