blob: 645b3c21586bf8523d2e5824fa7ba0d2ee3043c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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/
|