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:
Stefan Weil
2016-05-16 15:23:33 +02:00
committed by Michael Tokarev
parent 8913885761
commit bbd908025c
6 changed files with 11 additions and 11 deletions

View File

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