aboutsummaryrefslogtreecommitdiff
path: root/b4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'b4.sh')
-rwxr-xr-xb4.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/b4.sh b/b4.sh
new file mode 100755
index 0000000..cafeee1
--- /dev/null
+++ b/b4.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#
+# Run b4 from a git checkout.
+#
+
+SCRIPT_TOP="${SCRIPT_TOP:-$(cd "${BASH_SOURCE%/*}" && pwd)}"
+
+exec env PYTHONPATH="${SCRIPT_TOP}" python3 "${SCRIPT_TOP}/b4/command.py" "${@}"