summaryrefslogtreecommitdiff
path: root/b4.sh
blob: e1f6c4ed67ae7debda65a697dffb8ce14897f8f7 (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}" python3 "${SCRIPT_TOP}/b4/command.py" "${@}"