From cdd399017e45fd282433dbbcfdd4d2e4d9279c1d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 11 Sep 2026 19:00:13 +0100 Subject: [PATCH] init.sh: don't check PATH on startup even if i unset PATH before running lbmk, it is reinitialised because of the shebang. if no PATH exists, then it's either a broken system and you have bigger problems, or you have some weird system that uses something else. our job is not to fix the world. there was no scenario in which this check would even trigger an error or fallback, so just remove it. Signed-off-by: Leah Rowe --- include/init.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/init.sh b/include/init.sh index 6f9254dc..f1e5eafd 100644 --- a/include/init.sh +++ b/include/init.sh @@ -26,10 +26,6 @@ export LC_ALL="$utf_8" projectname="libreboot" projectsite="https://libreboot.org/" -# TODO: consider just erroring here instead of hardcoding a default -[ -z "${PATH+x}" ] && \ - export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" - sha512sum="util/sbase/sha512sum" eval "`newvar aur_notice basetmp board checkvarschk checkvarsxbmk configdir \