diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-09-11 19:00:13 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-09-11 19:02:20 +0100 |
| commit | cdd399017e45fd282433dbbcfdd4d2e4d9279c1d (patch) | |
| tree | 35ebb4a238d1e8d53e31b5cbec0417c05a8f0aa7 | |
| parent | 15204cda6364afe4e50b3dfe365b4638910a3334 (diff) | |
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 <leah@libreboot.org>
| -rw-r--r-- | include/init.sh | 4 |
1 files changed, 0 insertions, 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 \ |
