Merge "use . instead of source."

This commit is contained in:
Zuul 2018-02-02 09:42:54 +00:00 committed by Gerrit Code Review
commit 93fd0f5b2f
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
if is_service_enabled freezer-web-ui; then
if [[ "$1" == "source" || "`type -t install_freezer_web_ui`" != 'function' ]]; then
# Initial source
source $FREEZER_WEB_UI_DIR/devstack/lib/freezer-web-ui
. $FREEZER_WEB_UI_DIR/devstack/lib/freezer-web-ui
fi
if [[ "$1" == "stack" && "$2" == "install" ]]; then

View File

@ -4,4 +4,4 @@ VENV_PATH=${VENV_PATH:-${TOOLS_PATH}}
VENV_DIR=${VENV_NAME:-/../.venv}
TOOLS=${TOOLS_PATH}
VENV=${VENV:-${VENV_PATH}/${VENV_DIR}}
source ${VENV}/bin/activate && "$@"
. ${VENV}/bin/activate && "$@"