provision-android-ndk: let script work when no NDKs will be installed

The other form of find gave:

# find $NDK_BASE -type f -executable -print0 | xargs -0 chmod a+x
chmod: missing operand after ‘a+x’
Try 'chmod --help' for more information.
This commit is contained in:
Hans-Christoph Steiner 2022-01-10 22:49:30 +01:00
parent 5514000376
commit 97553c516f
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA

View file

@ -27,4 +27,4 @@ chmod g+w $NDK_BASE
# ensure all users can read and execute the NDK
chmod -R a+rX $NDK_BASE/
find $NDK_BASE/ -type f -executable -print0 | xargs -0 chmod a+x
find $NDK_BASE/ -type f -executable -exec chmod a+x -- {} +