[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __octave_srcdir__
From: |
Mike Miller |
Subject: |
Re: __octave_srcdir__ |
Date: |
Fri, 17 May 2013 02:45:36 -0400 |
On Thu, May 16, 2013 at 11:27 PM, Leo Liu wrote:
> On 2013-05-17 11:23 +0800, Mike Miller wrote:
>> Right, but wouldn't I have to call __octave_srcdir__ in the same manner:
>>
>> __octave_srcdir__ ("/home/mike/src/octave/default");
>
> If you have two .octaverc's for the two builds you can have them set the
> source directory differently.
If you have two .octaverc files, then each can call putenv to set the
source directory exactly the same way. As Ben replied, just call
putenv with a different path in each Octave interpreter environment.
I'm not seeing what this function offers other than a new global name.
--
mike