From e81b8a9ef5610f3035b36212cf43283dcef32a61 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 5 Oct 2020 01:17:43 +0200 Subject: [PATCH] added check to prevent unnecessary SDL download for Android build --- build-projects/android/build-scripts/create_sdl.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-projects/android/build-scripts/create_sdl.sh b/build-projects/android/build-scripts/create_sdl.sh index 7198dfb3..901d150d 100755 --- a/build-projects/android/build-scripts/create_sdl.sh +++ b/build-projects/android/build-scripts/create_sdl.sh @@ -12,6 +12,10 @@ for i in $SDL_VERSIONS; do SDL_SUBDIR=`echo $i | sed -e "s/-.*//"` SDL_SUBURL=`echo $SDL_SUBDIR | tr -d '2'` + if [ -d "$JNI_DIR/$SDL_SUBDIR" ]; then + continue; + fi + if [ "$SDL_SUBURL" = "SDL" ]; then SDL_RELEASE_DIR="release" else -- 2.34.1