Bug 3684 - kdesupport-1.1.1-1 has broken /etc/profile.d/kde.csh
kdesupport-1.1.1-1 has broken /etc/profile.d/kde.csh
Status: CLOSED DUPLICATE of bug 3686
Product: Red Hat Linux
Classification: Retired
Component: kdeutils (Show other bugs)
6.0
i386 Linux
high Severity high
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-23 16:46 EDT by chris
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-23 17:01:45 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 chris 1999-06-23 16:46:30 EDT
Someone mixed up sh and csh syntax in
/etc/profile.d/kde.csh.  It breaks csh/tcsh logins horribly
(no user login scripts are executed!!).  Patch follows:
write me if this wordwraps horribly:

--- /etc/profile.d/kde.csh.orig Mon Jun 21 14:28:21 1999
+++ /etc/profile.d/kde.csh      Wed Jun 23 15:15:46 1999
@@ -5,9 +5,7 @@
          endif
 endif
 setenv KDEDIR /usr
-kdepath="${KDEDIR}/bin"
-if ( echo ${PATH} | grep -q ${kdepath} ) then
-  exit
-endif
+set kdepath="${KDEDIR}/bin"
+if ( `echo ${PATH} | grep -q ${kdepath} | wc -l` != 0 )
exit
Comment 1 Bill Nottingham 1999-06-23 17:01: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.