mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Make trunnel find files recursively
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
59a78187cd
commit
0ba3444b4a
@ -5,7 +5,11 @@ if test "x$TRUNNEL_PATH" != "x"; then
|
||||
export PYTHONPATH
|
||||
fi
|
||||
|
||||
python -m trunnel --require-version=1.4 ./src/trunnel/*.trunnel
|
||||
# Get all .trunnel files recursively from that directory so we can support
|
||||
# multiple sub-directories.
|
||||
for file in `find ./src/trunnel/ -name '*.trunnel'`; do
|
||||
python -m trunnel --require-version=1.4 $file
|
||||
done
|
||||
|
||||
python -m trunnel --require-version=1.4 --write-c-files --target-dir=./src/ext/trunnel/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user