tcl expert needed

Bjarne D Mathiesen macintosh at mathiesen.info
Sat Jun 2 17:08:34 PDT 2012


Jeremy Lavergne wrote:
>> proc doSomething args {
>>    switch ${phase} {
>>    "destroot"      -
>>    "post-destroot" { set where "destroot" }
>>    "activate"      -
>>    "post-activate" { set where "" }
>>    }
>>    xinstall -d ${where}[dict get ${apache} libexecdir]
>>    /do a lot of stuff/
>> }
> 
> There's probably a variable somewhere, but I don't think you should need it. Something is amiss, and I'd rather you tell us what you're trying to achieve.
> 
> My advice is not doing it the way you've planned so far.
> 

OK ... I'll just fix things so that I'll only need one of the phases :-)
It would just have been nice to have the choice :-)

:-) thanks for the feedback :-)
-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3


More information about the macports-dev mailing list