fix: don't require git config for dependencies

this was an oversight on my part. the script cannot be
run as root, except to install distro dependencies e.g.:

as root: ./build dependencies debian

however, ./checkgit was being run *before* checking that,
making it required to set git config as root.

this patch fixes that bug.

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-08-28 12:00:04 +01:00
parent 6dbddf852c
commit 0052f9d03a
1 changed files with 2 additions and 2 deletions

4
lbmk
View File

@ -44,8 +44,6 @@ main()
err "running lbmk as root is not permitted"
fi
./checkgit || err "Please read: https://libreboot.org/docs/build/"
buildpath="./script/${0##*/}"
[ "${mode}" = "help" ] && usage ${0} && exit 0
@ -58,6 +56,8 @@ main()
exit 0
fi
./checkgit || err "Please read: https://libreboot.org/docs/build/"
option="${2}"
shift 2