Forráskód Böngészése

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

Nick Mathewson 5 éve
szülő
commit
d671e3f513
2 módosított fájl, 4 hozzáadás és 3 törlés
  1. 3 0
      changes/ticket28010
  2. 1 3
      scripts/codegen/run_trunnel.sh

+ 3 - 0
changes/ticket28010

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

+ 1 - 3
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/