analyze_index_html.sh: Make ref to TF-A config conditional
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I591f09f26db3bc2ed415e92e67555dabb1304788
diff --git a/eclair/analyze_index_html.sh b/eclair/analyze_index_html.sh
index 2d56363..a149046 100755
--- a/eclair/analyze_index_html.sh
+++ b/eclair/analyze_index_html.sh
@@ -6,13 +6,17 @@
#
# Template to produce index.html for the "full" build.
+if [ -n "${TF_CONFIG}" ]; then
+ build_config = "TF-A Config: ${TF_CONFIG}<br />"
+fi
+
cat <<EOF >index.html
<html>
<body>
<h1>MISRA reports</h1>
<p>
-TF-A Config: ${TF_CONFIG}<br />
+${build_config}
CI Build: <a href="${BUILD_URL}">${BUILD_URL}</a>
</p>