tcl: don't use 'set' to retrieve the value of a variable
[fw/openocd] / tcl / board / lemaker_hikey.cfg
index ee677c34b8bb8e4a3a7c40b681b1d03c4aff3a9a..325b6fdda0f08808995c48df3d3365819dbbcdc7 100644 (file)
@@ -17,7 +17,7 @@ proc core_up { args } {
        global _TARGETNAME
 
        # examine remaining cores
-       foreach _core [set args] {
+       foreach _core $args {
                ${_TARGETNAME}$_core arp_examine
        }
 }