From: Holger Schemel Date: Sun, 4 Oct 2020 23:17:43 +0000 (+0200) Subject: added check to prevent unnecessary SDL download for Android build X-Git-Tag: 4.2.0.3~1 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=e81b8a9ef5610f3035b36212cf43283dcef32a61;p=rocksndiamonds.git added check to prevent unnecessary SDL download for Android build --- 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