diff options
| author | Stefan Weil <sw@weilnetz.de> | 2016-05-16 15:23:33 +0200 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-06-07 18:19:23 +0300 |
| commit | bbd908025c530b57f57b5c5b739d53e28c1e59fc (patch) | |
| tree | 16ae024b85e2676bece118a3a0ae1003edf37d55 /scripts/qemu-binfmt-conf.sh | |
| parent | 89138857619b2a023c32200e9af780792ccaa8c3 (diff) | |
| download | focaccia-qemu-bbd908025c530b57f57b5c5b739d53e28c1e59fc.tar.gz focaccia-qemu-bbd908025c530b57f57b5c5b739d53e28c1e59fc.zip | |
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/qemu-binfmt-conf.sh')
| -rw-r--r-- | scripts/qemu-binfmt-conf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index 289b1a3963..f5bba70d06 100644 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -10,7 +10,7 @@ if [ ! -f /proc/sys/fs/binfmt_misc/register ]; then fi # probe cpu type -cpu=`uname -m` +cpu=$(uname -m) case "$cpu" in i386|i486|i586|i686|i86pc|BePC|x86_64) cpu="i386" |