mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-19 21:20:31 +02:00
only disable git check for ./mk -b coreboot
the previous patch was half the battle. now that annoying person who complained on irc should be happy. someone complained about having to enter git name/email when just doing e.g. ./mk inject a valid complaint, but their attitude kinda stunk. oh well. this patch should satisfy them. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -461,6 +461,21 @@ xbmk_git_init()
|
||||
|
||||
break
|
||||
fi
|
||||
if [ $# -gt 2 ] && [ "$3" != "coreboot" ]; then
|
||||
|
||||
# we still might run -b sometimes, for e.g.
|
||||
# dependencies of ./mk inject. if -b is used
|
||||
# but it's not for coreboot, don't check.
|
||||
|
||||
# coreboot is a multi-tree project, so the third
|
||||
# argument will always be coreboot, when building
|
||||
# with -b.
|
||||
|
||||
# we only need the git name/email check when
|
||||
# doing ./mk -b coreboot
|
||||
|
||||
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