Merge remote-tracking branch 'tor-github/pr/448'

This commit is contained in:
Nick Mathewson 2018-11-02 13:09:45 -04:00
commit d671e3f513
2 changed files with 4 additions and 3 deletions

3
changes/ticket28010 Normal file
View File

@ -0,0 +1,3 @@
o Code simplification and refactoring:
- Fix shellcheck warnings in run_trunnel.sh. Resolves issue
28010.

View File

@ -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/