projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f3bfa
)
added check to prevent unnecessary SDL download for Android build
author
Holger Schemel
<info@artsoft.org>
Sun, 4 Oct 2020 23:17:43 +0000
(
01:17
+0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 4 Oct 2020 23:17:43 +0000
(
01:17
+0200)
build-projects/android/build-scripts/create_sdl.sh
patch
|
blob
|
history
diff --git
a/build-projects/android/build-scripts/create_sdl.sh
b/build-projects/android/build-scripts/create_sdl.sh
index 7198dfb3636e1438557b6c55a6043dd3795e74a5..901d150d0b836059393ccbcc9b4fbff3fb51829e 100755
(executable)
--- 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