On 2012-1-15 09:03 , Ryan Schmidt wrote:
> I get the impression that the following two blocks are equivalent. Is this 
> true?
> 
> 
> if {${name} == ${subport}} {
>       ...
> }
> 
> 
> subport ${name} {
>       ...
> }
> 
> 
> I've been using the former sometimes, but I think the latter is more succinct 
> and I might try that instead, unless there's a reason not to.

Not entirely; the latter also adds to the set of known subports. (I also
wonder why you specifically use ${name} in your question?)

- Josh
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to