summaryrefslogtreecommitdiff
path: root/b4.sh
blob: 10d33b740d5eda0d69c49c2e98ee93e8d7c3c0e1 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
#
# Run b4 from a git checkout.
#

REAL_SCRIPT=$(realpath -e ${BASH_SOURCE[0]})
SCRIPT_TOP="${SCRIPT_TOP:-$(dirname ${REAL_SCRIPT})}"

exec env PYTHONPATH="${SCRIPT_TOP}:${SCRIPT_TOP}/patatt" python3 "${SCRIPT_TOP}/b4/command.py" "${@}"