Skip to content

Commit

Permalink
Fix git safe-directory path for docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jul 17, 2024
1 parent 7d356eb commit 572ba97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 572ba97

Please sign in to comment.