e1a5083ea1
This commit makes bash shebangs through /usr/bin/env. The originals work correctly. However, it could be more flexible through /usr/bin/env. And we already have a same thing in tools/tox_install.sh. So this commit makes them consistent, too. Change-Id: I35a6940cbd95c3b0f0d0f6391584b826e4de2ce5
7 lines
206 B
Bash
Executable File
7 lines
206 B
Bash
Executable File
#!/usr/bin/env bash
|
|
TOOLS_PATH=${TOOLS_PATH:-$(dirname $0)/../}
|
|
VENV_PATH=${VENV_PATH:-${TOOLS_PATH}}
|
|
VENV_DIR=${VENV_DIR:-/.venv}
|
|
VENV=${VENV:-${VENV_PATH}/${VENV_DIR}}
|
|
source ${VENV}/bin/activate && "$@"
|