I'm new to boards.ie and posted this question in the "Programming" forum last night, having just found this forum, perhaps this is where I should have posted...
I'm having problems creating a simple shell script to execute 2 unix commands.
Basically, the commands are:
> cleartool setview myview
> source /vobs/mydir/...
Setting the clearcase view is causing the problem, this command seems to launch a subshell (i.e. the SHLVL environment variable is incremented), so the 2nd command does not get executed until I exit the subshell.
How do I get the 2nd command to execute in the subshell?
The commands must be in this order because the /vobs/... dir is not accessible without the clearcase view being set.
btw....I use tcsh
Any help with this would be great!