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:
parent
3bb081c793
commit
6566ace236
@ -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*
|
||||
|
@ -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*
|
||||
|
@ -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*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user