From ccc009127464cece2be3e43bd06e643acb75f09b Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Mon, 22 Jul 2024 08:32:25 +0700 Subject: [PATCH] Fix[ios build]: remove unexpected check --- removejdkdebuginfo.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/removejdkdebuginfo.sh b/removejdkdebuginfo.sh index 11dcab79..0193d35f 100755 --- a/removejdkdebuginfo.sh +++ b/removejdkdebuginfo.sh @@ -17,12 +17,10 @@ if [[ "$TARGET_JDK" == "x86" ]]; then export TARGET_JDK=i386 fi -if [[ "$BUILD_IOS" != "1" ]]; then - mv jdkout/jre/lib/${TARGET_JDK}/libfreetype.so.6 jdkout/lib/${TARGET_JDK}/libfreetype.so || echo "Move exit $?" - mv jdkout/jre/lib/libfreetype.dylib.6 jdkout/jre/lib/libfreetype.dylib || echo "Move exit $?" - mv jreout/lib/${TARGET_JDK}/libfreetype.so.6 jreout/lib/${TARGET_JDK}/libfreetype.so || echo "Move exit $?" - mv jreout/lib/libfreetype.dylib.6 jreout/lib/libfreetype.dylib || echo "Move exit $?" -fi +mv jdkout/jre/lib/${TARGET_JDK}/libfreetype.so.6 jdkout/lib/${TARGET_JDK}/libfreetype.so || echo "Move exit $?" +mv jdkout/jre/lib/libfreetype.dylib.6 jdkout/jre/lib/libfreetype.dylib || echo "Move exit $?" +mv jreout/lib/${TARGET_JDK}/libfreetype.so.6 jreout/lib/${TARGET_JDK}/libfreetype.so || echo "Move exit $?" +mv jreout/lib/libfreetype.dylib.6 jreout/lib/libfreetype.dylib || echo "Move exit $?" # mv jreout/lib/${TARGET_JDK}/libfontmanager.diz jreout/lib/${TARGET_JDK}/libfontmanager.diz.keep # find jreout -name "*.diz" | xargs -- rm