Changed as per the standard convention set to use "."
When we have to source a script file use . instead of source For Reference follow below link: https://docs.openstack.org/contributor-guide/writing-style/code-conventions Change-Id: I73b50bb9496d0c82823f67dcc16f465ee8a96e87
This commit is contained in:
parent
00df2d5bfb
commit
3f1c597318
|
@ -684,7 +684,7 @@ If you didn't run watch in a different terminal, you can run it now::
|
|||
Generate openrc file::
|
||||
|
||||
kolla-kubernetes/tools/build_local_admin_keystonerc.sh ext
|
||||
source ~/keystonerc_admin
|
||||
. ~/keystonerc_admin
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
|
@ -246,9 +246,9 @@ Now we can install Ansible:
|
|||
.. code-block:: console
|
||||
|
||||
easy_install --user pip
|
||||
printf 'if [ -f ~/.bashrc ]; then\n source ~/.bashrc\nfi\n' >> $HOME/.profile
|
||||
printf 'if [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi\n' >> $HOME/.profile
|
||||
printf 'export PATH=$PATH:$HOME/Library/Python/2.7/bin\n' >> $HOME/.bashrc
|
||||
source $HOME/.profile
|
||||
. $HOME/.profile
|
||||
pip install --user --upgrade ansible
|
||||
sudo mkdir /etc/ansible
|
||||
sudo curl -L https://raw.githubusercontent.com/ansible/ansible/devel/examples/ansible.cfg -o /etc/ansible/ansible.cfg
|
||||
|
|
|
@ -24,7 +24,7 @@ so the only package you install is ``tox`` itself and it is safe to install tox
|
|||
.. code-block:: console
|
||||
|
||||
$virtualenv .venv
|
||||
$source .venv/bin/activate
|
||||
$. .venv/bin/activate
|
||||
$ pip install tox
|
||||
|
||||
See `the unit testing section of the Testing wiki page`_ for more information.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Loading mirrors info for traffic optimization.
|
||||
#
|
||||
if [ -f /etc/ci/mirror_info.sh ]; then
|
||||
source /etc/ci/mirror_info.sh
|
||||
. /etc/ci/mirror_info.sh
|
||||
echo "Suggested proxy url: $NODEPOOL_TARBALLS_PROXY"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue