run_trunnel.sh 420 B

123456789101112131415
  1. #!/bin/sh
  2. if test "x$TRUNNEL_PATH" != "x"; then
  3. PYTHONPATH="${TRUNNEL_PATH}:${PYTHONPATH}"
  4. export PYTHONPATH
  5. fi
  6. # Get all .trunnel files recursively from that directory so we can support
  7. # multiple sub-directories.
  8. for file in `find ./src/trunnel/ -name '*.trunnel'`; do
  9. python -m trunnel --require-version=1.4 $file
  10. done
  11. python -m trunnel --require-version=1.4 --write-c-files --target-dir=./src/ext/trunnel/