mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
build: initialise git first (before commands)
when running the inject logic, we should still initialise the git repository because these commands make use of the coreboot build system which requires git. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -36,9 +36,9 @@ main()
|
||||
git_err "git config --global user.name \"John Doe\""
|
||||
git config --global user.email 1>/dev/null 2>/dev/null || \
|
||||
git_err "git config --global user.email \"john.doe@example.com\""
|
||||
git_init
|
||||
|
||||
initcmd $@
|
||||
git_init
|
||||
|
||||
[ -f "${spath}" ] || $err "Bad command. Check $projectname docs."
|
||||
shift 1; "$spath" $@ || $err "excmd: ${spath} ${@}"
|
||||
|
||||
Reference in New Issue
Block a user