Merge "use . instead of source."
This commit is contained in:
commit
93fd0f5b2f
@ -16,7 +16,7 @@
|
|||||||
if is_service_enabled freezer-web-ui; then
|
if is_service_enabled freezer-web-ui; then
|
||||||
if [[ "$1" == "source" || "`type -t install_freezer_web_ui`" != 'function' ]]; then
|
if [[ "$1" == "source" || "`type -t install_freezer_web_ui`" != 'function' ]]; then
|
||||||
# Initial source
|
# Initial source
|
||||||
source $FREEZER_WEB_UI_DIR/devstack/lib/freezer-web-ui
|
. $FREEZER_WEB_UI_DIR/devstack/lib/freezer-web-ui
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
||||||
|
@ -4,4 +4,4 @@ VENV_PATH=${VENV_PATH:-${TOOLS_PATH}}
|
|||||||
VENV_DIR=${VENV_NAME:-/../.venv}
|
VENV_DIR=${VENV_NAME:-/../.venv}
|
||||||
TOOLS=${TOOLS_PATH}
|
TOOLS=${TOOLS_PATH}
|
||||||
VENV=${VENV:-${VENV_PATH}/${VENV_DIR}}
|
VENV=${VENV:-${VENV_PATH}/${VENV_DIR}}
|
||||||
source ${VENV}/bin/activate && "$@"
|
. ${VENV}/bin/activate && "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user