From 4a280c629fca886547eb0f4ebbe6319b75b240d7 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 27 Aug 2023 17:57:30 +0100 Subject: .gitcheck: re-write entirely. force global config. the way the old script worked was extremely hacky it's cleaner just to make the user configure git i haven't used anything from the old .gitcheck script, which is now deleted. i completely re-wrote this, in a much simpler way. this is less maintenance now, when things change in the upstream projects. coreboot makes heavy use of git within its build system Signed-off-by: Leah Rowe --- lbmk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lbmk') diff --git a/lbmk b/lbmk index 496d7145..0d5addc2 100755 --- a/lbmk +++ b/lbmk @@ -44,9 +44,10 @@ main() err "running lbmk as root as not permitted" fi + ./checkgit || err "Please read: https://libreboot.org/docs/build/" + buildpath="./script/${0##*/}" - ./.gitcheck || err "/.gitcheck call from main, in /lbmk" [ "${mode}" = "help" ] && usage ${0} && exit 0 [ "${mode}" = "list" ] && ./build command options "${buildpath}" && \ exit 0 @@ -84,8 +85,6 @@ main() fi "${buildpath}/${mode}/${option}" $@ || err "lbmk error" esac - - ./.gitcheck clean || err "/.gitcheck clean call from main, in /lbmk" } install_dependencies() -- cgit v1.2.1