瀏覽代碼

Allow running `make update` without git identity configuration

Matthias Schiffer 9 年之前
父節點
當前提交
1c6e52c9b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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