tor/scripts/codegen/run_trunnel.sh
Nick Mathewson 50d15e06b3 Use --require-version to prevent running trunnel pre-1.2
(Also, regenerate trunnel stuff with trunnel 1.2.  This just adds a
few comments to our output.)
2014-09-25 14:49:00 -04:00

12 lines
272 B
Bash
Executable File

#!/bin/sh
if test "x$TRUNNEL_PATH" != "x"; then
PYTHONPATH="${TRUNNEL_PATH}:${PYTHONPATH}"
export PYTHONPATH
fi
python -m trunnel --require-version=1.2 ./src/trunnel/*.trunnel
python -m trunnel --require-version=1.2 --write-c-files --target-dir=./src/ext/trunnel/