summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2020-03-19 20:34:28 -0700
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-03-20 13:08:55 -0400
commita73d4e1986fb34b325bc4e39b46a8adb85fd5e4d (patch)
treeb1f0acd3ccad05e407021c92b7d326059a9ef561 /README.rst
parent367be74dfd02735cc989258d1a58ce05a8ebc886 (diff)
downloadb4-a73d4e1986fb34b325bc4e39b46a8adb85fd5e4d.tar.gz
Add b4-wrapper.sh script
Add the b4-wrapper.sh script that allows running b4 from a git working directory. Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index b569e33..c85d4ff 100644
--- a/README.rst
+++ b/README.rst
@@ -23,11 +23,11 @@ python3 -m pip install --user --upgrade b4
Running from the checkout dir
-----------------------------
If you want to run from the checkout dir without installing the python package,
-just create the following wrapper command and put it in your path::
+you can use the b4-wrapper.sh script.
- #!/bin/bash
- B4DIR=$HOME/your/path/to/b4-git-repo
- PYTHONPATH=$B4DIR env python3 $B4DIR/b4/command.py $@
+```
+${git_dir}/b4-wrapper.sh --help
+```
Support
-------