murano-dashboard/tools/with_venv.sh
Ekaterina Chernova b5b295c0aa Update from openstack.common
All missed modules were added to openstack-common.conf file
and updated.

Change-Id: Ia440c66820eec1d715813bece0a042d7f8855738
2015-03-18 13:32:41 +00:00

8 lines
218 B
Bash
Executable File

#!/bin/bash
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 && "$@"