Use --replace-all 31/9231/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 24 Apr 2017 21:00:56 +0000 (23:00 +0200)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 24 Apr 2017 21:00:56 +0000 (23:00 +0200)
Change-Id: Icdc71fa6ecd51b513de234b189ad2e7e932ff935
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/common/include-agl-header.sh

index 51865ea..8bd9543 100644 (file)
@@ -143,7 +143,8 @@ set -x
 rm -rf ~/.gitconfi* || true
 
 if test ! -f ~/.gitconfig ; then 
-  git config --global --add user.email "jenkins-dontreply@build.automotivelinux.org" --add user.name "jenkins-dontreply@build.automotivelinux.org"
+  git config --global --replace-all user.email "jenkins-dontreply@build.automotivelinux.org"
+  git config --global --replace-all user.name "jenkins-dontreply@build.automotivelinux.org"
 fi
 
 #git config --global user.email "jenkins-dontreply@build.automotivelinux.org"