xinstall glob question

nox nox at macports.org
Thu May 7 17:13:28 PDT 2009


By the way, the two following snippets are equivalent:
if {[string equal ${str1} ${str2}]} { ... }
if {${str1} eq ${str2}} { ... }

The opposite operator of "eq" is "ne".

Regars.

Le 1 mai 09 à 02:08, Joshua Root a écrit :

> Darren Weber wrote:
>>
>>
>> I get an error, ie:
>>
>> Error: Target org.macports.destroot returned: syntax error in  
>> expression
>> " string equal [file extension ${f}] ".app" ": variable references
>> require preceding $
>
> You're missing [] around the string equal call.
>
> - Josh
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev



More information about the macports-dev mailing list