diff --git a/check.sh b/check.sh index f295e8c..d170c36 100755 --- a/check.sh +++ b/check.sh @@ -1,7 +1,7 @@ #!/bin/bash FILE="$1" -if [ -f "$FILE" ] || [ -d "$FILE" ]; +if ([ -f "$FILE" ] && [ -s "$FILE" ]) || ([ -d "$FILE" ] && [ "$(ls -A "$FILE")" ]); then echo "[OK ] $FILE" else diff --git a/make-mac.mk b/make-mac.mk index 9d0ca34..ce5a625 100644 --- a/make-mac.mk +++ b/make-mac.mk @@ -50,7 +50,7 @@ endif CXXFLAGS=$(CFLAGS) -fno-rtti -all: osx_app_framework ios_app_framework osx_unity3d_bundle ios_unity3d_bundle android_jni_lib osx_shared_lib +all: osx_app_framework ios_app_framework osx_unity3d_bundle ios_unity3d_bundle android_jni_lib osx_shared_lib check # TODO: CHECK if XCODE TOOLS are installed # Build frameworks for application development