Browse Source

Allow running `make update` without git identity configuration

Matthias Schiffer 9 years ago
parent
commit
1c6e52c9b6
1 changed files with 1 additions and 1 deletions
  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