Skip to content

Commit 572ba97

Browse files
committed
Fix git safe-directory path for docker images
1 parent 7d356eb commit 572ba97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$NO_CHANGE_USER" = "" ]; then
1919
# already be running with the right user.
2020
#
2121
# For NO_CHANGE_USER done in the small number of Dockerfiles affected.
22-
echo -e '[safe]\n\tdirectory = *' > /home/user/gitconfig
22+
echo -e '[safe]\n\tdirectory = *' > /home/user/.gitconfig
2323

2424
exec su --preserve-environment -c "env PATH=$PATH \"$0\"" user
2525
fi

0 commit comments

Comments
 (0)