mardi 6 janvier 2015

using TCL expand in if statement

I try to use an expand of a list of arguments ($options) in an if-statement in tcl



if {! [runCommandInRepo $componentpath git init {*}$options] } { exit 1 }


but I get an error saying there are "extra characters after close-brace"


How do you expand a list inside an if statement


Aucun commentaire:

Enregistrer un commentaire