mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 02:58:29 +00:00
scripts: Use $(..) instead of deprecated ..
This fixes these warnings from shellcheck:
^-- SC2006: Use $(..) instead of deprecated `..`
Update also a comment using the same pattern.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
committed by
Michael Tokarev
parent
8913885761
commit
bbd908025c
@@ -39,7 +39,7 @@
|
||||
# However some caution is required regarding files that might be part
|
||||
# of the guest agent or standalone tests.
|
||||
|
||||
# for i in `git ls-tree --name-only HEAD` ; do test -f $i && \
|
||||
# for i in $(git ls-tree --name-only HEAD) ; do test -f $i && \
|
||||
# grep -E '^# *include' $i | head -1 | grep 'osdep.h' ; test $? != 0 && \
|
||||
# echo $i ; done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user