mk: move git check to init.sh xbmk_set_version

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-04-26 22:44:11 +01:00
parent 11cd952060
commit 97a5e3d15e
2 changed files with 5 additions and 5 deletions

5
mk
View File

@@ -23,11 +23,6 @@ main()
{
cmd="" && [ $# -gt 0 ] && cmd="$1" && shift 1
for g in "command -v git" "git config --global user.name" \
"git config --global user.email"; do
eval "$g 1>/dev/null 2>/dev/null || $err \"Unconfigured: $g\""
done
case "$cmd" in
version) printf "%s\nWebsite: %s\n" "$relname" "$projectsite" ;;
release|download|inject) $cmd "$@" ;;