Bug 3811 - /etc/profile.d/kde.csh
Summary: /etc/profile.d/kde.csh
Keywords:
Status: CLOSED DUPLICATE of bug 3686
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kdesupport
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-06-29 17:35 UTC by klmitch
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-06-30 22:53:10 UTC


Attachments (Terms of Use)

Description klmitch 1999-06-29 17:35:11 UTC
1) var=value syntax doesn't work in csh
2) If the bad syntax is fixed, "if" bails out with
   "Expression Syntax."

Both of these problems mean my tcsh dot files don't get
run.

The relevant lines are flagged below with '*':
------------------------------------------------------------
# KDE initialization script (csh)
if ( $?KDEDIR ) then
         if ( $KDEDIR == "/usr" ) then
         exit
         endif
endif
setenv KDEDIR /usr
kdepath="${KDEDIR}/bin" *
if ( echo ${PATH} | grep -q ${kdepath} ) then *
  exit
endif

setenv PATH "${kdepath}:${PATH}"
------------------------------------------------------------
Suggested fixes:

First line should read, 'set kdepath = "${KDEDIR}/bin"'
I'm not sure about the appropriate if syntax; maybe some
appropriately placed backtics would fix it.

Comment 1 Jeff Johnson 1999-06-30 22:53:59 UTC
*** 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.