mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
0ba3444b4a
Signed-off-by: David Goulet <dgoulet@torproject.org>
16 lines
420 B
Bash
Executable File
16 lines
420 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if test "x$TRUNNEL_PATH" != "x"; then
|
|
PYTHONPATH="${TRUNNEL_PATH}:${PYTHONPATH}"
|
|
export PYTHONPATH
|
|
fi
|
|
|
|
# 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/
|
|
|