diff options
Diffstat (limited to 'scripts/codegen/run_trunnel.sh')
-rwxr-xr-x | scripts/codegen/run_trunnel.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/codegen/run_trunnel.sh b/scripts/codegen/run_trunnel.sh index d2669931e9..c574ea8069 100755 --- a/scripts/codegen/run_trunnel.sh +++ b/scripts/codegen/run_trunnel.sh @@ -5,7 +5,11 @@ if test "x$TRUNNEL_PATH" != "x"; then export PYTHONPATH fi -python -m trunnel --require-version=1.4 ./src/trunnel/*.trunnel +# 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 +done python -m trunnel --require-version=1.4 --write-c-files --target-dir=./src/ext/trunnel/ |