From f45f5e625daa119ec5c830290164a1a469054da7 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 9 Sep 2023 22:30:22 +0100 Subject: update/project/*: remove redundant checks these scripts used to be in the main directory of lbmk, and thus needed to check for root user, and also git credentials. now they are called by the main lbmk script, which also runs the same checks. avoid waste of resources by not running the same check twice. Signed-off-by: Leah Rowe --- script/update/project/repo | 7 ------- 1 file changed, 7 deletions(-) (limited to 'script/update/project/repo') diff --git a/script/update/project/repo b/script/update/project/repo index 0183bf43..9f0a9180 100755 --- a/script/update/project/repo +++ b/script/update/project/repo @@ -17,13 +17,6 @@ depend="" main() { - id -u 1>/dev/null 2>/dev/null || \ - fail "cannot ascertain user id" - if [ "$(id -u)" = "0" ]; then - fail "running lbmk as root is not permitted" - fi - ./checkgit || err "Please read: https://libreboot.org/docs/build/" - [ $# -gt 0 ] || fail "no argument given" [ -z "${1+x}" ] && fail 'main(): name not set' -- cgit v1.2.1