summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-28 12:00:04 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-28 12:00:26 +0100
commit0052f9d03aef33dcdbe5bf87ecd1cd36e2645d9b (patch)
treebfb486ee37deaf7e13f61e83db04c15980776008
parent6dbddf852ca291892d9e77456939c65653243ac4 (diff)
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>
-rwxr-xr-xlbmk4
1 files changed, 2 insertions, 2 deletions
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