mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-28 06:59:03 +02:00
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>
This commit is contained in:
4
lbmk
4
lbmk
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user