aboutsummaryrefslogtreecommitdiff
path: root/scripts/codegen/run_trunnel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/codegen/run_trunnel.sh')
-rwxr-xr-xscripts/codegen/run_trunnel.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/codegen/run_trunnel.sh b/scripts/codegen/run_trunnel.sh
index 428804342a..645b3c2158 100755
--- a/scripts/codegen/run_trunnel.sh
+++ b/scripts/codegen/run_trunnel.sh
@@ -9,9 +9,7 @@ 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 ${OPTIONS} $file
-done
+find ./src/trunnel/ -name '*.trunnel' -exec python -m trunnel ${OPTIONS} {} \;
python -m trunnel ${OPTIONS} --write-c-files --target-dir=./src/ext/trunnel/