octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __octave_srcdir__


From: Mike Miller
Subject: Re: __octave_srcdir__
Date: Thu, 16 May 2013 23:23:32 -0400

On Thu, May 16, 2013 at 11:13 PM, Leo Liu wrote:
> On 2013-05-17 10:15 +0800, Mike Miller wrote:
>> I think I understand what you're trying to accomplish, but how is this
>> proposed function __octave_srcdir__ that just sets a persistent
>> variable any different functionally from a simple environment
>> variable? I can already do this in my ~/.octaverc:
>>
>>   putenv ("OCTAVE_SRCDIR", "/home/mike/src/octave/default");
>
> envvar is global. Consider the case of running multiple builds: 3.7.x
> and 3.6.4.

Right, but wouldn't I have to call __octave_srcdir__ in the same manner:

  __octave_srcdir__ ("/home/mike/src/octave/default");

?

-- 
mike


reply via email to

[Prev in Thread] Current Thread [Next in Thread]