diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-03-20 13:11:05 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-03-20 13:14:18 -0400 |
commit | eb4e2cf91eee89a62c68de0e5332bf63a4cc0166 (patch) | |
tree | d95c2389a144afe65d66a714ccacf9fe7ff73b78 /b4.sh | |
parent | a73d4e1986fb34b325bc4e39b46a8adb85fd5e4d (diff) | |
download | b4-eb4e2cf91eee89a62c68de0e5332bf63a4cc0166.tar.gz |
Move b4-wrapper.sh to b4.sh
Make the name a bit more convenient to invoke and document that it can
be set as an alias.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4.sh')
-rwxr-xr-x | b4.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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" "${@}" |