On Fri, 28 Sep 2007, Malcolm J. Currie wrote:
>>> I looked at multiplot.csh.in and there's no /star. Is the /star coming
>>> from the @<blah>@ tokens?
>>>
>>
>> It's the psmerge location. Need to replace it with something like
>
> That's what I was alluding to. There is no @path_to_psmerge@
> (PSMERGE_DIR). That's why you often get the system-provided version
> instead. Can we not define this enviroment variable?
>
> The bug is that the bindir token in multiplot.csh.in points to $KAPPA_DIR.
>
>> else
>> hope it's in the path
>
> Isn't that likely to use the wrong psmerge? I'd rather issue a warning
> message, or even an error message and exit.
>
>> A bit like Peter's recent GWM patch.
>
> Do you mean startcl?
That must be what Tim means.
I don't like the idea of having an environment variable like PSMERGE_DIR,
for something installed into /star/bin, so how about the following. I've
changed the login and profile scripts so that STARLINK_DIR is always
defined, not just when you're relocating, so you can rely on that to find
$STARLINK_DIR/bin, if you don't trust the PATH.
Anyone see a downside to doing this?
Peter.
|