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
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev