commit d671e3f513cb62ca2e649d3c162d0874436eacf2 parent 3d8fcbcbad6c1c41be2745ecfe9f08aad07cdf5f Author: Nick Mathewson <nickm@torproject.org> Date: Fri, 2 Nov 2018 13:09:45 -0400 Merge remote-tracking branch 'tor-github/pr/448' Diffstat:
| A | changes/ticket28010 | | | 3 | +++ |
| M | scripts/codegen/run_trunnel.sh | | | 4 | +--- |
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/changes/ticket28010 b/changes/ticket28010 @@ -0,0 +1,3 @@ + o Code simplification and refactoring: + - Fix shellcheck warnings in run_trunnel.sh. Resolves issue + 28010. diff --git 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/