www portfiles - inconsistent settings

Bjarne D Mathiesen macintosh at mathiesen.info
Wed May 30 08:51:32 PDT 2012


Jeremy Lavergne wrote:
>> some we've got the following inconsistensies:
>> 1) docroot / docpath
>>   which one do we use ???
> 
>> set docroot ${destroot}${prefix}/www/${name}
>> set docpath ${destroot}${prefix}/www/${name}
> 
> They're the same; the variable name is simply a different name.

I know that they are in fact the same :-)
I just hate having 2 names for the exact same thing ;-)
It's a bit of a sloppy coding practise ;-)

It also makes it at bit difficult do a mass search and/or replace in the
Portfiles ;-)

:-D
-- 
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