init.sh: make git name/email error more useful
instruct the user what to do in these conditions Signed-off-by: Leah Rowe <leah@libreboot.org>25.04_branch
parent
ec287ca69e
commit
4ff7cd3d77
|
@ -198,8 +198,10 @@ xbmk_git_init()
|
|||
x_ git tag -a "$version" -m "$projectname $version" 1>/dev/null \
|
||||
2>/dev/null
|
||||
|
||||
x_ git config --global user.name
|
||||
x_ git config --global user.email
|
||||
for gitarg in "--global user.name" "--global user.email"; do
|
||||
gitcmd="git config $gitarg"; $gitcmd || $err \
|
||||
"Please run this first: $gitcmd \"your ${gitcmd##*.}\""
|
||||
done
|
||||
}
|
||||
|
||||
xbmk_create_tmpdir()
|
||||
|
|
Loading…
Reference in New Issue