summaryrefslogtreecommitdiff
path: root/scripts/update-linux-headers.sh
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-05-16 15:23:33 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2016-06-07 18:19:23 +0300
commitbbd908025c530b57f57b5c5b739d53e28c1e59fc (patch)
tree16ae024b85e2676bece118a3a0ae1003edf37d55 /scripts/update-linux-headers.sh
parent89138857619b2a023c32200e9af780792ccaa8c3 (diff)
downloadqemu-bbd908025c530b57f57b5c5b739d53e28c1e59fc.tar.gz
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>
Diffstat (limited to 'scripts/update-linux-headers.sh')
-rwxr-xr-xscripts/update-linux-headers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index f7d62d974f..08c4c4ae54 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -10,7 +10,7 @@
# This work is licensed under the terms of the GNU GPL version 2.
# See the COPYING file in the top-level directory.
-tmpdir=`mktemp -d`
+tmpdir=$(mktemp -d)
linux="$1"
output="$2"