2023-02-25 13:06:25 +03:00

11 lines
408 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$TARGET_JDK" == "arm" ]; then
git clone --depth 1 https://github.com/PojavLauncherTeam/openjdk-aarch32-jdk8u openjdk
elif [ "$BUILD_IOS" == "1" ]; then
git clone --depth 1 --branch ios https://github.com/PojavLauncherTeam/openjdk-multiarch-jdk8u openjdk
else
# Use aarch32 repo because it also has aarch64
git clone --depth 1 https://github.com/openjdk/aarch32-port-jdk8u openjdk
fi