mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-19 21:20:31 +02:00
make the bitch on irc happy
some person complained about this. see diff. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -452,6 +452,15 @@ xbmk_set_mirror()
|
||||
xbmk_git_init()
|
||||
{
|
||||
for gitarg in "user.name" "user.email"; do
|
||||
if [ "$2" != "-b" ]; then
|
||||
|
||||
# we only need git name/email set for building
|
||||
# coreboot. this is a bit of a hack, but it should
|
||||
# make xbmk a bit easier to use for example when
|
||||
# someone only wants to run ./mk inject
|
||||
|
||||
break
|
||||
fi
|
||||
gitcmd="git config --includes $gitarg"
|
||||
if ! $gitcmd 1>/dev/null 2>/dev/null; then
|
||||
err "Run this first: $gitcmd \"your ${gitcmd##*.}\"" \
|
||||
|
||||
Reference in New Issue
Block a user