Jeff Squyres wrote:
> Excellent point. Hardly elegant, but definitely no portability
> issues there -- so I like it better.
Last word on this trivial issue I promise - if you don't want two
copies added to L_L_P, you could use a temporary variable, e.g.:
tcsh -c 'if ( "$?LD_LIBRARY_PATH" == 1 ) set foo ;
if ( "$?LD_LIBRARY_PATH" == 0 ) setenv LD_LIBRARY_PATH blah ;
if ( "$?foo" == 1 ) setenv LD_LIBRARY_PATH blah:$LD_LIBRARY_PATH ;
unset foo'
|