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.)
This commit is contained in:
Nick Mathewson
2014-09-25 14:49:00 -04:00
parent d303d6244e
commit 50d15e06b3
6 changed files with 18 additions and 4 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ if test "x$TRUNNEL_PATH" != "x"; then
export PYTHONPATH
fi
python -m trunnel ./src/trunnel/*.trunnel
python -m trunnel --require-version=1.2 ./src/trunnel/*.trunnel
python -m trunnel --write-c-files --target-dir=./src/ext/trunnel/
python -m trunnel --require-version=1.2 --write-c-files --target-dir=./src/ext/trunnel/