create temp dir to save ndk

This commit is contained in:
CherretGit
2025-11-01 16:23:44 +07:00
parent 1b7448afa3
commit 1128168924

View File

@@ -16,6 +16,8 @@ _download_android_ndk:
TMPFILE="{{NDK_HOME}}.tmp"
TMPDIR="{{NDK_HOME}}.extracted.tmp"
mkdir -p "$(dirname "$TMPFILE")"
curl -L -C - -o "$TMPFILE" "https://dl.google.com/android/repository/android-ndk-{{ANDROID_NDK_VERSION}}.zip"
unzip "$TMPFILE" -d "$TMPDIR"