<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 5 March 2015 at 09:38, Chunrong Guo <span dir="ltr">&lt;<a href="mailto:B40290@freescale.com" target="_blank">B40290@freescale.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":1z2" class="" style="overflow:hidden">-            for type in in ${UBOOT_CONFIG}; do<br>
+            for type in ${UBOOT_CONFIG}; do<br>
                 if [ &quot;${type}&quot;x = &quot;in&quot;x ]<br>
                 then<br>
                     continue<br>
                 fi</div></blockquote></div><br>The if &quot;${type}x&quot; = &quot;inx&quot; check demonstrates that the in was repeated for a reason, which you&#39;ve just broken.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Of course all of that isn&#39;t required as a simple test demonstrates:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">$ UBOOT_CONFIG=&quot;&quot;</div><div class="gmail_extra">~</div><div class="gmail_extra">$ for type in ${UBOOT_CONFIG}; do echo x$type; done</div><div class="gmail_extra">~</div><div class="gmail_extra">$</div><div class="gmail_extra"><br></div><div class="gmail_extra">You can remove the &quot;typex = inx&quot; tests as if UBOOT_CONFIG isn&#39;t set the loop won&#39;t be entered.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div></div>