summaryrefslogtreecommitdiff
path: root/b4-send-email.sh
blob: 9dd464021bedc1c123ef6cb093d07b970917e459 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
#
# Wrapper for running b4-send-email from checkout
#

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

exec env PYTHONPATH="${SCRIPT_TOP}" python3 "${SCRIPT_TOP}/b4/attest.py" "${@}"