b-test: fix shellcheck warnings
Add some missing quotations to stop shellcheck complaining.
Change-Id: I6a202c1f1233180c966192105e23f0a0380ce5cf
Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com>
diff --git a/tools/b-test/run.sh.j2 b/tools/b-test/run.sh.j2
index 6838928..87abb3e 100644
--- a/tools/b-test/run.sh.j2
+++ b/tools/b-test/run.sh.j2
@@ -86,9 +86,9 @@
local retval=0
# jinja2 is removing single newlines. Adding a comment stops this behavior.
- if _cmake "$log_file" -S {{config.src}} -B "$b_dir" $ccache_option {% for param in config.params %} "{{param}}" {% endfor %} ${CMAKE_EXTRA_FLAGS} #keep newline
+ if _cmake "$log_file" -S "{{config.src}}" -B "$b_dir" $ccache_option {% for param in config.params %} "{{param}}" {% endfor %} ${CMAKE_EXTRA_FLAGS} #keep newline
then
- if _cmake "$log_file" --build "$b_dir" -j ${NUMBER_OF_PROCESSORS} --verbose
+ if _cmake "$log_file" --build "$b_dir" -j "${NUMBER_OF_PROCESSORS}" --verbose
then
if _cmake "$log_file" --install "$b_dir" --prefix ./install
then