Files
9db3cd1e4d72462eb9303fd917f2d19a823cf4f0
ironic-python-agent /tools /with_venv.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
218 B
Bash
Raw Normal View History

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 && "$@"