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