fmt: make ptest installation and execution more posix compliant
PATCH 1/1 fmt: make ptest installation and execution more posix compliant
Instead of using ls... just enumerate the folder content with an asterisk.
No behavior change should come from this patch.
Signed-off-by Gyorgy Sarvari <[email protected]>
--- meta/recipes-devtools/fmt/fmt/run-ptest | 2 +- meta/recipes-devtools/fmt/fmt_11.2.0.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/fmt/fmt/run-ptest +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -for t in `ls ./*-test`; do +for t in *-test; do ./$t && echo PASS: $t || echo FAIL: $t done
meta/recipes-devtools/fmt/fmt_11.2.0.bb +1 -1
@@ -17,7 +17,7 @@ EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DFMT_TEST=ON', '', d)}" do_install_ptest(){ - for t in `ls ${B}/bin/*-test`; do + for t in ${B}/bin/*-test; do install $t ${D}${PTEST_PATH}/ done }