cleartool command not found from .cshrc but found when manually called
0
votes
1
answer
134
views
I'm having an issue with
cleartool
commands called from my .tcshrc
. I try to call cleartool setview
, but get a cleartool: Command not found
error. however, when I call the command from the terminal, I don't get this issue. My default shell is set to tcsh
, and I have csh
, sh
, tcsh
all present in my /bin
dir. What could be causing this issue?
My $PATH
when output from the init script is as follows:
/usr/lib64/qt-3.3/bin:/usr/share/centrifydc/bin:/usr/local/bin:/bin:/usr/bin:/opt/dell/srvadmin/bin
The path when echo
'd from the terminal is significantly longer; I can't show the whole thing because it's on a corporate system but it does contain /opt/rational/clearcase/bin
, so I believe this is the problem but I don't know how to get the script to recognise the longer path.
The script works if I add a line to my script to add /opt/rational/clearcase/bin
to $PATH
, but I'd like to be able to permanently add this to my shell path.
Asked by Clinton J
(101 rep)
Jun 5, 2024, 07:16 PM
Last activity: Jun 11, 2024, 06:12 PM
Last activity: Jun 11, 2024, 06:12 PM