about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2024-07-16 17:42:25 -0700
committerEric Huss <eric@huss.org>2024-07-16 17:42:25 -0700
commit572ba97f10e970c5cd0ccfc2f0cd52002c799ee4 (patch)
treea4d5fa7eb2946b9056504b75c8ad0918263ac204
parent7d356ebde329df5f38186efe3e7c5e8dabac7cb7 (diff)
downloadrust-572ba97f10e970c5cd0ccfc2f0cd52002c799ee4.tar.gz
rust-572ba97f10e970c5cd0ccfc2f0cd52002c799ee4.zip
Fix git safe-directory path for docker images
-rwxr-xr-xsrc/ci/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index 869f75e923d..c8201d9bcfd 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