Bug 3684

Summary: kdesupport-1.1.1-1 has broken /etc/profile.d/kde.csh
Product: [Retired] Red Hat Linux Reporter: chris
Component: kdeutilsAssignee: David Lawrence <dkl>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: high    
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-23 21:01:45 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 chris 1999-06-23 20:46:30 UTC
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 21:01:59 UTC
*** This bug has been marked as a duplicate of 3686 ***