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: Icc6a692d37e8a5bc1146d803c873505cbf6cd03f
This commit is contained in:
Surya Prakash Singh 2017-08-28 11:01:24 +05:30 committed by Surya Prakash (spsurya)
parent 3bb081c793
commit 6566ace236
5 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
# results in the container not being able to restart. (bug #1489676, 1557036)
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
source /etc/apache2/envvars
. /etc/apache2/envvars
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*

View File

@ -4,7 +4,7 @@
# results in the container not being able to restart. (bug #1489676, 1557036)
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
source /etc/apache2/envvars
. /etc/apache2/envvars
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*

View File

@ -4,7 +4,7 @@
# results in the container not being able to restart. (bug #1489676, 1557036)
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
source /etc/apache2/envvars
. /etc/apache2/envvars
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*

View File

@ -35,7 +35,7 @@ function setup_disk {
# (SamYaple)TODO: Remove the path overriding
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
source /etc/lsb-release
. /etc/lsb-release
# Setup Docker repo and add signing key
sudo apt-get update

View File

@ -6,8 +6,8 @@ set -o errexit
# Enable unbuffered output for Ansible in Jenkins.
export PYTHONUNBUFFERED=1
source /etc/nodepool/provider
source /etc/ci/mirror_info.sh
. /etc/nodepool/provider
. /etc/ci/mirror_info.sh
# Just for mandre :)
if [[ ! -f /etc/sudoers.d/jenkins ]]; then