if {$subport != $name}: '!=' vs. 'ne'

Ryan Schmidt ryandesign at macports.org
Thu Dec 5 00:24:48 PST 2013


On Dec 5, 2013, at 01:41, Ryan Schmidt wrote:

> On Dec 5, 2013, at 01:10, Mojca Miklavec wrote:
> 
>> On Fri, Nov 29, 2013 at 9:06 AM, Ryan Schmidt wrote:
>>> 
>>>> +if {${subport} != ${name}} {
>>> 
>>> Remember to use eq and ne for string comparisons instead of == and !=.
>> 
>> But someone should commit massive changes to the ports then. [snip]

> That would be a good idea but identifying all occurrences of the mistake is not easy. [snip]

But I will make this specific change in the python ports now to get us started.



More information about the macports-dev mailing list