mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2025-11-08 08:20:07 +05:30
Use $() notation instead of legacy backticks ``
Line 45: KERNEL_BIT=`getconf LONG_BIT` Use $(...) notation instead of legacy backticks `...`.
This commit is contained in:
parent
8467f89896
commit
cc8ecd2e13
1 changed files with 1 additions and 1 deletions
2
yabs.sh
2
yabs.sh
|
|
@ -42,7 +42,7 @@ elif [[ $ARCH = *i?86* ]]; then
|
|||
# host is running a 32-bit kernel
|
||||
ARCH="x86"
|
||||
elif [[ $ARCH = *aarch* || $ARCH = *arm* ]]; then
|
||||
KERNEL_BIT=`getconf LONG_BIT`
|
||||
KERNEL_BIT=$(getconf LONG_BIT)
|
||||
if [[ $KERNEL_BIT = *64* ]]; then
|
||||
# host is running an ARM 64-bit kernel
|
||||
ARCH="aarch64"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue