From 572ba97f10e970c5cd0ccfc2f0cd52002c799ee4 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 16 Jul 2024 17:42:25 -0700 Subject: [PATCH] Fix git safe-directory path for docker images --- src/ci/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci/run.sh b/src/ci/run.sh index 869f75e923d2c..c8201d9bcfd27 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -19,7 +19,7 @@ if [ "$NO_CHANGE_USER" = "" ]; then # already be running with the right user. # # For NO_CHANGE_USER done in the small number of Dockerfiles affected. - echo -e '[safe]\n\tdirectory = *' > /home/user/gitconfig + echo -e '[safe]\n\tdirectory = *' > /home/user/.gitconfig exec su --preserve-environment -c "env PATH=$PATH \"$0\"" user fi