From 4be4850928269edc1d0da3274095db43dac8d5cc Mon Sep 17 00:00:00 2001 From: chao liu Date: Sat, 26 Aug 2017 18:31:33 -0700 Subject: [PATCH] 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: I6d217c259cb6cd0e8413e50b6722fc4d0478ea1b --- doc/source/quickstart_docker.rst | 2 +- doc/source/quickstart_git.rst | 8 ++++---- doc/source/quickstart_pip.rst | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/source/quickstart_docker.rst b/doc/source/quickstart_docker.rst index 99f56a0..0193bde 100644 --- a/doc/source/quickstart_docker.rst +++ b/doc/source/quickstart_docker.rst @@ -63,7 +63,7 @@ Now that the RC file is available from the container, you can run any OpenStack .. code-block:: bash sudo docker run --rm -it -v $PWD:/tmp/vmtp berrypatch/vmtp bash - root@af7cedc3866f:/# source /tmp/vmtp/admin-openrc.sh + root@af7cedc3866f:/# . /tmp/vmtp/admin-openrc.sh 4.1. Verify flavor names diff --git a/doc/source/quickstart_git.rst b/doc/source/quickstart_git.rst index cba80c4..205899c 100644 --- a/doc/source/quickstart_git.rst +++ b/doc/source/quickstart_git.rst @@ -18,7 +18,7 @@ Installation on Ubuntu/Debian $ sudo apt-get install libxml2-dev libxslt-dev libffi-dev libz-dev libyaml-dev libssl-dev $ # create a virtual environment $ virtualenv ./vmtpenv - $ source ./vmtpenv/bin/activate + $ . ./vmtpenv/bin/activate $ git clone git://git.openstack.org/openstack/vmtp $ cd vmtp $ pip install -r requirements-dev.txt @@ -35,7 +35,7 @@ Installation on RHEL/CentOS $ sudo pip install git-review $ # create a virtual environment $ virtualenv ./vmtpenv - $ source ./vmtpenv/bin/activate + $ . ./vmtpenv/bin/activate $ git clone git://git.openstack.org/openstack/vmtp $ cd vmtp $ pip install -r requirements-dev.txt @@ -60,7 +60,7 @@ First, download XCode from App Store, then execute below commands: $ sudo pip install virtualenv $ # create a virtual environment $ virtualenv ./vmtpenv - $ source ./vmtpenv/bin/activate + $ . ./vmtpenv/bin/activate $ git clone git://git.openstack.org/openstack/vmtp $ cd vmtp $ pip install -r requirements-dev.txt @@ -100,7 +100,7 @@ In the VMTP virtual environment, you can run any OpenStack CLI command (since th .. code-block:: bash - source admin-openrc.sh + . admin-openrc.sh 4.1. Verify flavor names diff --git a/doc/source/quickstart_pip.rst b/doc/source/quickstart_pip.rst index 56414d9..107070c 100644 --- a/doc/source/quickstart_pip.rst +++ b/doc/source/quickstart_pip.rst @@ -46,7 +46,7 @@ Create a virtual environment for Python, and install VMTP: .. code-block:: bash $ virtualenv ./vmtpenv - $ source ./vmtpenv/bin/activate + $ . ./vmtpenv/bin/activate $ pip install vmtp $ vmtp -h