Badges: mark the dir as safe for git

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-03-23 13:56:18 +01:00
parent 1da0edc94f
commit 046e562140
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -9,4 +9,5 @@ if [ ! -d "$DIR/.git" ]; then
git clone https://pagure.io/fedora-badges.git $DIR git clone https://pagure.io/fedora-badges.git $DIR
fi fi
git config --global --add safe.directory $DIR
git -C $DIR pull git -C $DIR pull