diff --git a/doc/source/user/howto.rst b/doc/source/user/howto.rst index 233750dde..b8e6f851c 100644 --- a/doc/source/user/howto.rst +++ b/doc/source/user/howto.rst @@ -15,7 +15,7 @@ environment variables: For your ease of use, ``env-vars`` can be sourced to allow the CLI to connect to a local ironic installation operating in noauth mode. Run e.g.:: - source env-vars + . env-vars ironic node-list +------+------+---------------+-------------+--------------------+-------------+ | UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance | diff --git a/scripts/env-setup.sh b/scripts/env-setup.sh index ba96931ba..3afbd8e86 100755 --- a/scripts/env-setup.sh +++ b/scripts/env-setup.sh @@ -1,7 +1,7 @@ #!/bin/bash set -eu -source $(dirname $0)/install-deps.sh +. $(dirname $0)/install-deps.sh # NOTE(pas-ha) the above exports some useful variables like # $PYTHON , $PIP and $VENV depending on venv install or not diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh index d0ff265cf..3de7a8e7a 100644 --- a/scripts/install-deps.sh +++ b/scripts/install-deps.sh @@ -129,7 +129,7 @@ if [ -n "${VENV-}" ]; then # Note(cinerama): activate is not compatible with "set -u"; # disable it just for this line. set +u - source ${VENV}/bin/activate + . ${VENV}/bin/activate set -u VIRTUAL_ENV=${VENV} else