diff --git a/scripts/build-android.sh b/scripts/build-android.sh index 04d9f610..85358dd1 100755 --- a/scripts/build-android.sh +++ b/scripts/build-android.sh @@ -77,7 +77,7 @@ find src/ -name "*.i" > build/upm.i.list gen_and_upload() { # Skip any directories without .java src files - if [ ! -f *.java ]; then + if [ $(ls *.java | wc -l) -eq "0" ]; then return fi