Re: Notes on handling of defaults

2008-11-03 Thread Hans Ekbrand
On Mon, Nov 03, 2008 at 11:12:23PM +0100, Hans Ekbrand wrote: [...] > First put the options as parameters to lh_config in a bash script, which also > issues lh_build > > Then run this script like this > > rm -rf config/ && bash bin/aa1 2>&1 | tee build.log To clarify: the script in the above

Re: Notes on handling of defaults

2008-11-03 Thread Hans Ekbrand
On Wed, Oct 22, 2008 at 09:55:16AM +0200, Frédéric BOITEUX wrote: [...] > After reading this interesting e-mail, I revised the way I customize > my live systems : I was setting environment variables LH_* when calling > lh_config and lh_build, so I tried to specify my modifications in a > file I

Re: Notes on handling of defaults

2008-10-22 Thread Frédéric BOITEUX
Le mar 14 oct 2008 13:39:38 CEST, Daniel Baumann <[EMAIL PROTECTED]> a écrit : > How are defaults beeing handled in live-helper? > --- > ... > The hierarchy of methods in order to manipulates values of variables is > the following (earlier methods are ov

Notes on handling of defaults

2008-10-14 Thread Daniel Baumann
How are defaults beeing handled in live-helper? --- Each and every helper processes Set_defaults(); from functions/defaults.sh. Set_defaults(); follows two basic priciples: * If a variable is unset, it is automatically set to a (sane) default. * If