File: b4.sh

package info (click to toggle)
b4 0.6.2-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 324 kB
  • sloc: python: 3,567; sh: 11; makefile: 6
file content (9 lines) | stat: -rwxr-xr-x 236 bytes parent folder | download
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" "${@}"