Fix to use "." to source script files

Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.

Change-Id: I54b2d7d84bdd651fb96a62b3af3244c6ab484059
This commit is contained in:
melissaml 2017-09-20 02:57:57 +08:00
parent 05eb3727d1
commit 9819720f78
3 changed files with 3 additions and 3 deletions

View File

@ -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 |

View File

@ -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

View File

@ -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