From 97553c516fd18d7c5d457faebd42251305bb7f61 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 10 Jan 2022 22:49:30 +0100 Subject: [PATCH] provision-android-ndk: let script work when no NDKs will be installed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- buildserver/provision-android-ndk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildserver/provision-android-ndk b/buildserver/provision-android-ndk index 9672b309..ca2cc325 100644 --- a/buildserver/provision-android-ndk +++ b/buildserver/provision-android-ndk @@ -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 -- {} +