Masayuki Igawa | e1a5083 | 2017-04-11 16:24:00 +0900 | [diff] [blame] | 1 | #!/usr/bin/env bash |
ghanshyam | f5360ff | 2015-06-29 13:32:01 +0900 | [diff] [blame] | 2 | TOOLS_PATH=${TOOLS_PATH:-$(dirname $0)/../} |
3 | VENV_PATH=${VENV_PATH:-${TOOLS_PATH}} | ||||
4 | VENV_DIR=${VENV_DIR:-/.venv} | ||||
5 | VENV=${VENV:-${VENV_PATH}/${VENV_DIR}} | ||||
6 | source ${VENV}/bin/activate && "$@" |