qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] tests/rebuild-expected-aml.sh: Modern shell scripti


From: luoyifan
Subject: [Qemu-devel] [PATCH] tests/rebuild-expected-aml.sh: Modern shell scripting (use $() instead of ``)
Date: Fri, 11 Oct 2019 16:26:55 +0800

Various shell files contain a mix of obsolete `` and
modern $(); It would be nice to convert to use $()
everywhere.

Signed-off-by: Yifan Luo <address@hidden>
---
 tests/data/acpi/rebuild-expected-aml.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
1.8.3.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]