summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-24 13:24:45 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-26 05:25:28 +0100
commit8edea026c58f06fa7af0ec9b20450641acccbefe (patch)
tree9207000887f57a9205adcde000bca8fefe6152e2 /include/git.sh
parentb1b964fa5c393cb4651861b14fb4e861ee7c6737 (diff)
lib.sh: Force use of System Python to prevent hang
If the user has a virtual environment, the current logic will cause lbmk to hang. A useful workaround is to force use of the direct path to the system binary of python. This works by detecting a virtual environment first, and deferring to the old behaviour if no venv is found. If one is found, then it will not rely on PATH, but instead only search the standard locations /usr/local/bin and /usr/bin. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
0 files changed, 0 insertions, 0 deletions