Explorar o código

Allow running `make update` without git identity configuration

Matthias Schiffer %!s(int64=9) %!d(string=hai) anos
pai
achega
1c6e52c9b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/patch.sh

+ 1 - 1
scripts/patch.sh

@@ -10,7 +10,7 @@ for module in $GLUON_MODULES; do
 	git checkout -B patching base
 
 	if [ "$(echo "$GLUONDIR"/patches/$module/*.patch)" ]; then
-		git am --whitespace=nowarn "$GLUONDIR"/patches/$module/*.patch || (
+		git -c user.name='Gluon Patch Manager' -c user.email='gluon@void.example.com' am --whitespace=nowarn "$GLUONDIR"/patches/$module/*.patch || (
 			git am --abort
 			git checkout patched
 			git branch -D patching