mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
a0dd6bfdb0
This fixes shellcheck warnings SC2044 and SC2006.
16 lines
414 B
Bash
Executable File
16 lines
414 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if test "x$TRUNNEL_PATH" != "x"; then
|
|
PYTHONPATH="${TRUNNEL_PATH}:${PYTHONPATH}"
|
|
export PYTHONPATH
|
|
fi
|
|
|
|
OPTIONS="--require-version=1.5.1"
|
|
|
|
# Get all .trunnel files recursively from that directory so we can support
|
|
# multiple sub-directories.
|
|
find ./src/trunnel/ -name '*.trunnel' -exec python -m trunnel ${OPTIONS} {} \;
|
|
|
|
python -m trunnel ${OPTIONS} --write-c-files --target-dir=./src/ext/trunnel/
|
|
|