<p dir="auto"><code class="notranslate">micro_vision</code> and <code class="notranslate">micro_speech</code> examples are showing following error on invoking makefile to build</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/bin/sh: 1: [[: not found"><pre class="notranslate"><code class="notranslate">/bin/sh: 1: [[: not found
</code></pre></div>
<p dir="auto">My build command is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="make -f tensorflow/lite/experimental/micro/tools/make/Makefile TARGET=linux micro_vision"><pre class="notranslate"><code class="notranslate">make -f tensorflow/lite/experimental/micro/tools/make/Makefile TARGET=linux micro_vision
</code></pre></div>
<p dir="auto">The patch to fix this issue is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="diff --git a/tensorflow/lite/experimental/micro/tools/make/Makefile b/tensorflow/lite/experimental/micro/tools/make/Makefile
index d2ed2e6234..2779530d02 100644
--- a/tensorflow/lite/experimental/micro/tools/make/Makefile
+++ b/tensorflow/lite/experimental/micro/tools/make/Makefile
@@ -1,3 +1,4 @@
+SHELL := /bin/bash
 
 ifneq (3.82,$(firstword $(sort $(MAKE_VERSION) 3.82)))
   $(error &quot;Requires make version 3.82 or later (current is $(MAKE_VERSION))&quot;)"><pre class="notranslate"><code class="notranslate">diff --git a/tensorflow/lite/experimental/micro/tools/make/Makefile b/tensorflow/lite/experimental/micro/tools/make/Makefile
index d2ed2e6234..2779530d02 100644
--- a/tensorflow/lite/experimental/micro/tools/make/Makefile
+++ b/tensorflow/lite/experimental/micro/tools/make/Makefile
@@ -1,3 +1,4 @@
+SHELL := /bin/bash
 
 ifneq (3.82,$(firstword $(sort $(MAKE_VERSION) 3.82)))
   $(error "Requires make version 3.82 or later (current is $(MAKE_VERSION))")
</code></pre></div>
<p dir="auto">Tensorflow repo info:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="commit 92fc3d02fd3cd086e17659842bfee1bbd62d1838 (HEAD -&gt; master)
Author: Tiezhen WANG &lt;wangtz@google.com&gt;
Date:   Thu Sep 5 07:10:01 2019 -0700

    TFLM: Better format for debug log in `screen`
    
    Otherwise, it's showing up like
    msg1
        msg2
            msg3
    
    PiperOrigin-RevId: 267365236"><pre class="notranslate"><code class="notranslate">commit 92fc3d02fd3cd086e17659842bfee1bbd62d1838 (HEAD -&gt; master)
Author: Tiezhen WANG &lt;wangtz@google.com&gt;
Date:   Thu Sep 5 07:10:01 2019 -0700

    TFLM: Better format for debug log in `screen`
    
    Otherwise, it's showing up like
    msg1
        msg2
            msg3
    
    PiperOrigin-RevId: 267365236
</code></pre></div>
<p dir="auto">OS Platform and Distribution: Linux Ubuntu 18.04.3 LTS<br>
GCC/Compiler version: 7.3.1</p>
<p dir="auto">when i follow the [guide] to  demonstrate the absolute basics of using TensorFlow Lite for Microcontrollers.i create a folder for mbed,but i get this error:<br>
make:*** no rule to make target "tensorflow/lite/experimental/micro/tools/make/gen/mbed_cortex-m4/prj/hello_world/mbed/tensorflow/lite/experimental/micro/tools/make/downloads/CMSIS_ext/arm_cmplx_mag_squared_q10p6.c",needed by "generate_hello_world_mbed_project"<br>
(<a href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/experimental/micro/examples/hello_world">https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/experimental/micro/examples/hello_world</a>)</p>
<ul dir="auto">
<li>OS Platform and Distribution (Linux Ubuntu 18.04):</li>
</ul>