mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 14:12:44 +02:00
.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 <leah@libreboot.org>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user