aboutsummaryrefslogtreecommitdiff
path: root/scripts/codegen
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-25 12:31:31 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-25 12:32:08 -0400
commit1b13139709348f6a7f19808c1cd82d2b62823680 (patch)
tree9bfacb5a828c940149e981b46ffc02608c4e0588 /scripts/codegen
parent36700ee99e00efe8e0c5c124ce581fbbb60ee3f2 (diff)
downloadtor-1b13139709348f6a7f19808c1cd82d2b62823680.tar.gz
tor-1b13139709348f6a7f19808c1cd82d2b62823680.zip
Add a script to run trunnel on the trunnel files.
Also, re-run the latest trunnel. Closes ticket 13242
Diffstat (limited to 'scripts/codegen')
-rwxr-xr-xscripts/codegen/run_trunnel.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/codegen/run_trunnel.sh b/scripts/codegen/run_trunnel.sh
new file mode 100755
index 0000000000..3a3deb2730
--- /dev/null
+++ b/scripts/codegen/run_trunnel.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if test "x$TRUNNEL_PATH" != "x"; then
+ PYTHONPATH="${TRUNNEL_PATH}:${PYTHONPATH}"
+ export PYTHONPATH
+fi
+
+python -m trunnel ./src/trunnel/*.trunnel
+