[SM-Discuss] cast --reconfigure --queue, RECONFIGURE not exported

Andrew afrayedknot at thefrayedknot.armory.com
Mon Jul 26 13:16:14 EDT 2004


RECONFIGURE shouldn't need to be exported unless you need it defined in
pass 3 or 4, which you probably dont, since all config query'ish things
should be done in pass 1. What ends up needing it down the road?
Maybe you could describe more of whats going on?

-Andrew

On Mon, Jul 26, 2004 at 01:49:39PM +0200, Vladim?r Marek wrote:
> Hello,
> 
> I tried to do
> 
> cast -r -c --queue, but found that the spells didn't ask me for a new
> config. It's caused by line 258 of /usr/sbin/cast:
> 
>     -r|--reconfigure)  RECONFIGURE="$1";                 shift 1  ;;
> 
> The RECONFIGURE variable is not exported, and (probably ?) new processes
> are spawned for spells in queue. If I change the line to 
> 
>     -r|--reconfigure)  export RECONFIGURE="$1";          shift 1  ;;
> 
> It seems to me that everything is working as it should.
> 
> Does it have any meaning to _not_ export this variable ?
> 
> --
> 	Neuron



> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss


-- 
__________________________________________________________________________
|Andrew D. Stitt                           | astitt at sourcemage.org    |
|irc: afrayedknot                          | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus    |                             |
|Sorcery Team Lead, Porting Team Lead      |                             |
|Grimoire Guru ham/smgl                    | ftp://t.armory.com          |
|Author and Maintainer of Prometheus       |                             |
--------------------------------------------------------------------------



More information about the SM-Discuss mailing list