Skip to content

Commit

Permalink
[toranj] SC2086: double quote to prevent globbing and word splitting (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhui authored Oct 11, 2024
1 parent c379f1e commit bd1ffd6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/toranj/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ case ${build_config} in
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
"${top_srcdir}" || die
ninja || die
cp -p ${top_builddir}/examples/apps/ncp/ot-ncp-ftd ${top_builddir}/examples/apps/ncp/ot-ncp-ftd-15.4
cp -p "${top_builddir}/examples/apps/ncp/ot-ncp-ftd" "${top_builddir}/examples/apps/ncp/ot-ncp-ftd-15.4"
;;

ncp-trel)
Expand All @@ -150,7 +150,7 @@ case ${build_config} in
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
"${top_srcdir}" || die
ninja || die
cp -p ${top_builddir}/examples/apps/ncp/ot-ncp-ftd ${top_builddir}/examples/apps/ncp/ot-ncp-ftd-trel
cp -p "${top_builddir}/examples/apps/ncp/ot-ncp-ftd" "${top_builddir}/examples/apps/ncp/ot-ncp-ftd-trel"
;;

ncp-15.4+trel | ncp-trel+15.4)
Expand All @@ -166,7 +166,7 @@ case ${build_config} in
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
"${top_srcdir}" || die
ninja || die
cp -p ${top_builddir}/examples/apps/ncp/ot-ncp-ftd ${top_builddir}/examples/apps/ncp/ot-ncp-ftd-15.4-trel
cp -p "${top_builddir}/examples/apps/ncp/ot-ncp-ftd" "${top_builddir}/examples/apps/ncp/ot-ncp-ftd-15.4-trel"
;;

cli | cli-)
Expand Down Expand Up @@ -194,7 +194,7 @@ case ${build_config} in
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
"${top_srcdir}" || die
ninja || die
cp -p ${top_builddir}/examples/apps/cli/ot-cli-ftd ${top_builddir}/examples/apps/cli/ot-cli-ftd-15.4
cp -p "${top_builddir}/examples/apps/cli/ot-cli-ftd" "${top_builddir}/examples/apps/cli/ot-cli-ftd-15.4"
;;

cli-trel)
Expand All @@ -209,7 +209,7 @@ case ${build_config} in
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
"${top_srcdir}" || die
ninja || die
cp -p ${top_builddir}/examples/apps/cli/ot-cli-ftd ${top_builddir}/examples/apps/cli/ot-cli-ftd-trel
cp -p "${top_builddir}/examples/apps/cli/ot-cli-ftd" "${top_builddir}/examples/apps/cli/ot-cli-ftd-trel"
;;

cli-15.4+trel | cli-trel+15.4)
Expand All @@ -224,7 +224,7 @@ case ${build_config} in
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
"${top_srcdir}" || die
ninja || die
cp -p ${top_builddir}/examples/apps/cli/ot-cli-ftd ${top_builddir}/examples/apps/cli/ot-cli-ftd-15.4-trel
cp -p "${top_builddir}/examples/apps/cli/ot-cli-ftd" "${top_builddir}/examples/apps/cli/ot-cli-ftd-15.4-trel"
;;

rcp)
Expand Down

0 comments on commit bd1ffd6

Please sign in to comment.