mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
init.sh: remove TODO note
on further inspection, the following check ensures that the python version number is 3. if anything went wrong, the possibility alluded to in the comment wouldn't actually matter in practise. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -299,9 +299,6 @@ xbmk_set_pyver()
|
||||
fi
|
||||
|
||||
if [ -n "$pyver" ]; then
|
||||
# TODO: very sus; possible holes in error management
|
||||
# TODO: maybe use sed?
|
||||
|
||||
pyver="$("$(pybin "$python")" -c "$pyv" | awk '{print $1}')"
|
||||
pyver="${pyver#(}"
|
||||
pyver="${pyver%,}"
|
||||
|
||||
Reference in New Issue
Block a user