When I run the following code intereactively from bash it works fine.
cleartool setview $myview
cleartool lsbl
But when I put them in a script and try to run the script, it never returns from the first cleartool command.
It seems in the interactive case the first cleartool command opens a new bash to run in and when you run the second command from the new shell it works fine. But in case of the script the new shell is not being visible and hence it seems not to return from the command.
Is there anyway to keep the cleartool commands in the same bash shell they are running from?