From 7b9a71c9af07334b0551575e53e250ff0f011811 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Sun, 21 Mar 2021 20:13:07 -0300 Subject: [PATCH] scripts: improve boot_patch 64bit detection - use existing api_level_arch_detect function Fixes #3961 --- scripts/boot_patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/boot_patch.sh b/scripts/boot_patch.sh index d6c6caf2b..aab52a3b8 100644 --- a/scripts/boot_patch.sh +++ b/scripts/boot_patch.sh @@ -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"