Commit 7b9a71c9 authored by osm0sis's avatar osm0sis Committed by John Wu

scripts: improve boot_patch 64bit detection

- use existing api_level_arch_detect function

Fixes #3961
parent 901d22cd
...@@ -54,7 +54,7 @@ if [ -z $SOURCEDMODE ]; then ...@@ -54,7 +54,7 @@ if [ -z $SOURCEDMODE ]; then
# Load utility functions # Load utility functions
. ./util_functions.sh . ./util_functions.sh
# Check if 64-bit # Check if 64-bit
[ -d /system/lib64 ] && IS64BIT=true || IS64BIT=false api_level_arch_detect
fi fi
BOOTIMAGE="$1" BOOTIMAGE="$1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment