diff mbox series

tests/rebuild-expected-aml.sh: Modern shell scripting (use $() instead of ``)

Message ID 02f501d5800d$a4a059c0$ede10d40$@cmss.chinamobile.com
State New
Headers show
Series tests/rebuild-expected-aml.sh: Modern shell scripting (use $() instead of ``) | expand

Commit Message

luoyifan@cmss.chinamobile.com Oct. 11, 2019, 8:26 a.m. UTC
Various shell files contain a mix of obsolete `` and
modern $(); It would be nice to convert to use $()
everywhere.

Signed-off-by: Yifan Luo <luoyifan@cmss.chinamobile.com>
---
 tests/data/acpi/rebuild-expected-aml.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/data/acpi/rebuild-expected-aml.sh
b/tests/data/acpi/rebuild-expected-aml.sh
index f89d462..07c5814 100755
--- a/tests/data/acpi/rebuild-expected-aml.sh
+++ b/tests/data/acpi/rebuild-expected-aml.sh
@@ -29,7 +29,7 @@  for qemu in $qemu_bins; do
     TEST_ACPI_REBUILD_AML=y QTEST_QEMU_BINARY=$qemu tests/bios-tables-test
 done
 
-eval `grep SRC_PATH= config-host.mak`
+eval $(grep SRC_PATH= config-host.mak)
 
 echo '/* List of comma-separated changed AML files to ignore */' >
${SRC_PATH}/tests/bios-tables-test-allowed-diff.h