From 0052f9d03aef33dcdbe5bf87ecd1cd36e2645d9b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 28 Aug 2023 12:00:04 +0100 Subject: 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 --- lbmk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbmk') diff --git a/lbmk b/lbmk index fd442dfa..68497799 100755 --- a/lbmk +++ b/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 -- cgit v1.2.1