Ignore errors from non-existent files when trying to find aapt

This commit is contained in:
baldurk
2018-11-28 10:43:30 +00:00
parent fa1c701cdf
commit b89a8295cf
+1 -1
View File
@@ -99,7 +99,7 @@ if uname -a | grep -iq msys; then
GENERATOR="MSYS Makefiles"
fi
AAPT=$(ls $ANDROID_SDK/build-tools/*/aapt{,.exe} | tail -n 1)
AAPT=$(ls $ANDROID_SDK/build-tools/*/aapt{,.exe} 2>/dev/null | tail -n 1)
# Check to see if we already have this built, and don't rebuild
VERSION32=$($AAPT dump badging build-android-arm32/bin/*apk 2>/dev/null | grep -Eo "versionName='[0-9a-f]*'" | grep -Eo "'.*'" | tr -d "'")