windows build and r15912

Hale Boyes, Kevin Kevin.HaleBoyes at encana.com
Tue Apr 17 13:21:22 EDT 2007


Great, I'll have a look when I see the commit message.
Kevin.

-----Original Message-----
From: Andreas Köhler [mailto:andi5.py at gmx.net] 
Sent: Tuesday, April 17, 2007 11:15 AM
To: Derek Atkins
Cc: Hale Boyes, Kevin ; gnucash-devel at gnucash.org
Subject: Re: windows build and r15912

Hi,

very good point, Kevin.  Somehow I forgot about it.
Derek, that is almost exactly what I am going to implement now.  The 
head of defaults should explain it once I have it running and committed.

-- andi5

Derek Atkins schrieb:
> Perhaps we should pull in custom.sh first, and then have
> defaults.sh do something like:
> 
> [ -z "${GLOBAL_DIR:-}" ] && GLOBAL_DIR=<default>
> 
> .. and do this for all the variables to only set them if
> they are not already set.
> 
> -derek
> 
> "Hale Boyes, Kevin " <Kevin.HaleBoyes at encana.com> writes:
> 
>> Maybe my scripting skill are a bit rusty but how is the
>> new defaults/custom file loading going to work?
>>
>> The only value that I normally change is the GLOBAL_DIR setting.
>> When I create the custom file, will it contain just the GLOBAL_DIR
>> variable or do I need to copy the entire defaults file and
>> change just the one variable?
>>
>> I'm guessing that I need to do the later because of all the
>> variables that depend on the value of GLOBAL_DIR (like DOCS_DIR).
>> They will be set before the custom file is sourced and their
>> value won't change when I reset the value of GLOBAL_DIR.
>>
>> Hmm, I guess I'll have to be more careful than that.  I won't
>> want an exact copy of defaults as that would call all the add_step
>> functions again.
>>
>> In an attempt to answer my own question...  If I want to change the
>> value of GLOBAL_DIR then I will put it and all the variable that
>> depend on it into the custom file, but nothing else.  It isn't enough
>> to put just GLOBAL_DIR into custom.
>>
>> Is that correct?
>>
>> Thanks,
>> Kevin.

This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited.  If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you. 
http://www.encana.com





More information about the gnucash-devel mailing list