run_trunnel.sh 414 B

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