2011-08-05 21:45:09 -05:00
|
|
|
#!/bin/bash
|
2013-09-08 16:14:40 +08:00
|
|
|
TOOLS_PATH=${TOOLS_PATH:-$(dirname $0)}
|
|
|
|
VENV_PATH=${VENV_PATH:-${TOOLS_PATH}}
|
|
|
|
VENV_DIR=${VENV_NAME:-/../.venv}
|
|
|
|
TOOLS=${TOOLS_PATH}
|
|
|
|
VENV=${VENV:-${VENV_PATH}/${VENV_DIR}}
|
|
|
|
source ${VENV}/bin/activate && "$@"
|