Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Aug 4, 2023
1 parent 58319ff commit 2008709
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions zip-content/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ unset CDPATH

TMP_PATH="${2:?}"

LEGACY_ARM=false
FAKE_SIGN=false

### FUNCTIONS ###
Expand Down Expand Up @@ -85,8 +84,6 @@ ui_msg "Fake signature: ${FAKE_SIGN}"
ui_msg "$(write_separator_line "${#MODULE_NAME}" '-' || true)"
ui_msg_empty_line

if is_substring ',armeabi,' "${ABI_LIST}" && ! is_substring ',armeabi-v7a,' "${ABI_LIST}"; then LEGACY_ARM=true; fi

if test "${CPU}" = false && test "${CPU64}" = false; then
ui_error "Unsupported CPU, ABI list: ${ABI_LIST}"
fi
Expand Down Expand Up @@ -332,7 +329,7 @@ if test "${API:?}" -ge 21; then

# The name of the following architectures remain unchanged: x86, x86_64, mips, mips64
move_rename_dir "${TMP_PATH}/libs/lib/arm64-v8a" "${TMP_PATH}/libs/lib/arm64"
if test "${LEGACY_ARM}" != true; then
if test "${ARCH_ARM:?}" = 'true'; then
move_rename_dir "${TMP_PATH}/libs/lib/armeabi-v7a" "${TMP_PATH}/libs/lib/arm"
delete_recursive "${TMP_PATH}/libs/lib/armeabi"
else
Expand Down

0 comments on commit 2008709

Please sign in to comment.