scripts: improve boot_patch 64bit detection

- use existing api_level_arch_detect function

Fixes #3961
This commit is contained in:
osm0sis 2021-03-21 20:13:07 -03:00 committed by John Wu
parent 901d22cdfa
commit 7b9a71c9af

View File

@ -54,7 +54,7 @@ if [ -z $SOURCEDMODE ]; then
# Load utility functions
. ./util_functions.sh
# Check if 64-bit
[ -d /system/lib64 ] && IS64BIT=true || IS64BIT=false
api_level_arch_detect
fi
BOOTIMAGE="$1"