From caa247e3a8b104714762c1db47e7ac347240e447 Mon Sep 17 00:00:00 2001 From: dneto Date: Thu, 5 Mar 2026 13:09:52 -0500 Subject: [PATCH] kokoro/ndk-build: mark all repos as safe for modification This is needed to make tool/git-sync-deps work when running the Docker flow locally. --- kokoro/ndk-build/build-docker.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kokoro/ndk-build/build-docker.sh b/kokoro/ndk-build/build-docker.sh index dbb5341a..ded25db6 100755 --- a/kokoro/ndk-build/build-docker.sh +++ b/kokoro/ndk-build/build-docker.sh @@ -24,8 +24,9 @@ grep "Amber is a multi-API shader test framework" README.md >/dev/null # This is required to run any git command in the docker since owner will # have changed between the clone environment, and the docker container. -# Marking the root of the repo as safe for ownership changes. -git config --global --add safe.directory $ROOT_DIR +# Mark all repos as safe for ownership changes. This is needed for +# the git-sync-deps step. +git config --global --add safe.directory '*' . /bin/using.sh using ndk-r29