mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
init.sh: remove comment in pybin
the following checks on the path mitigates the lack of error handling in the findpath command that sets pypath. this was all thought of when i initially wrote this code. it's perfectly fine. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -336,8 +336,6 @@ pybin()
|
||||
# use the *real*, direct executable linked to by the venv symlink:
|
||||
|
||||
if [ $venv -gt 0 ] && [ -L "`command -v "$1" 2>/dev/null`" ]; then
|
||||
# TODO: very sus; possible hole in error management:
|
||||
|
||||
pypath="$(findpath \
|
||||
"$(command -v "$1" 2>/dev/null)" 2>/dev/null || :)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user