Files
03b6b0a4ab36449efb94ce6cda65897b905f2bd0
ironic-python-agent /tools /with_venv.sh

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