Allow running make update without git identity configuration

This commit is contained in:
Matthias Schiffer 2015-01-21 17:37:41 +01:00
parent e144c7fae1
commit 1c6e52c9b6

View File

@ -10,7 +10,7 @@ for module in $GLUON_MODULES; do
git checkout -B patching base git checkout -B patching base
if [ "$(echo "$GLUONDIR"/patches/$module/*.patch)" ]; then 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 am --abort
git checkout patched git checkout patched
git branch -D patching git branch -D patching