diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-02-19 15:16:39 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-02-19 15:16:39 -0500 |
commit | d1571b04cf591bd63a2aed302e47dc259d7b26a6 (patch) | |
tree | 07359676c6512813f867ab8025026ebb2f0fd8c5 | |
parent | 3cfb91a071cd3b029d9ebc4e92383236c4c9cee0 (diff) | |
download | b4-d1571b04cf591bd63a2aed302e47dc259d7b26a6.tar.gz |
Fix PYTHONPATH to include src/
Make sure we're using the src subdir of the repository.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | b4.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,5 +6,5 @@ REAL_SCRIPT=$(realpath -e ${BASH_SOURCE[0]}) SCRIPT_TOP="${SCRIPT_TOP:-$(dirname ${REAL_SCRIPT})}" -PYTHONPATH="${SCRIPT_TOP}:${SCRIPT_TOP}/patatt${PYTHONPATH:+:$PYTHONPATH}" \ +PYTHONPATH="${SCRIPT_TOP}/src:${SCRIPT_TOP}/patatt${PYTHONPATH:+:$PYTHONPATH}" \ exec python3 "${SCRIPT_TOP}/src/b4/command.py" "${@}" |