Use $() notation instead of legacy backticks ``

Line 45:
KERNEL_BIT=`getconf LONG_BIT`
Use $(...) notation instead of legacy backticks `...`.
This commit is contained in:
Ajee 2022-11-25 10:16:17 -05:00 committed by GitHub
commit cc8ecd2e13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ elif [[ $ARCH = *i?86* ]]; then
# host is running a 32-bit kernel # host is running a 32-bit kernel
ARCH="x86" ARCH="x86"
elif [[ $ARCH = *aarch* || $ARCH = *arm* ]]; then elif [[ $ARCH = *aarch* || $ARCH = *arm* ]]; then
KERNEL_BIT=`getconf LONG_BIT` KERNEL_BIT=$(getconf LONG_BIT)
if [[ $KERNEL_BIT = *64* ]]; then if [[ $KERNEL_BIT = *64* ]]; then
# host is running an ARM 64-bit kernel # host is running an ARM 64-bit kernel
ARCH="aarch64" ARCH="aarch64"