summaryrefslogtreecommitdiff
path: root/scripts/codegen
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-08 16:56:24 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-08 16:59:25 -0500
commitbc68eedd79286420f8dcab5fa4ed83401299c89c (patch)
tree84e128effdd94fa9b1f44d1bee2617be91b278f7 /scripts/codegen
parente1f00c5f8620f46f97ac58b2a1787852891c8981 (diff)
downloadtor-bc68eedd79286420f8dcab5fa4ed83401299c89c.tar.gz
tor-bc68eedd79286420f8dcab5fa4ed83401299c89c.zip
Update to trunnel 1.5.1
Diffstat (limited to 'scripts/codegen')
-rwxr-xr-xscripts/codegen/run_trunnel.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/codegen/run_trunnel.sh b/scripts/codegen/run_trunnel.sh
index c574ea8069..428804342a 100755
--- a/scripts/codegen/run_trunnel.sh
+++ b/scripts/codegen/run_trunnel.sh
@@ -5,11 +5,13 @@ if test "x$TRUNNEL_PATH" != "x"; then
export PYTHONPATH
fi
+OPTIONS="--require-version=1.5.1"
+
# Get all .trunnel files recursively from that directory so we can support
# multiple sub-directories.
for file in `find ./src/trunnel/ -name '*.trunnel'`; do
- python -m trunnel --require-version=1.4 $file
+ python -m trunnel ${OPTIONS} $file
done
-python -m trunnel --require-version=1.4 --write-c-files --target-dir=./src/ext/trunnel/
+python -m trunnel ${OPTIONS} --write-c-files --target-dir=./src/ext/trunnel/