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
parent
6dbddf852c
commit
0052f9d03a
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue