diff options
Diffstat (limited to 'scripts/codegen/run_trunnel.sh')
-rwxr-xr-x | scripts/codegen/run_trunnel.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/codegen/run_trunnel.sh b/scripts/codegen/run_trunnel.sh new file mode 100755 index 0000000000..d2669931e9 --- /dev/null +++ b/scripts/codegen/run_trunnel.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +if test "x$TRUNNEL_PATH" != "x"; then + PYTHONPATH="${TRUNNEL_PATH}:${PYTHONPATH}" + export PYTHONPATH +fi + +python -m trunnel --require-version=1.4 ./src/trunnel/*.trunnel + +python -m trunnel --require-version=1.4 --write-c-files --target-dir=./src/ext/trunnel/ + |