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)
|
# results in the container not being able to restart. (bug #1489676, 1557036)
|
||||||
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
||||||
# Loading Apache2 ENV variables
|
# Loading Apache2 ENV variables
|
||||||
source /etc/apache2/envvars
|
. /etc/apache2/envvars
|
||||||
rm -rf /var/run/apache2/*
|
rm -rf /var/run/apache2/*
|
||||||
else
|
else
|
||||||
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
|
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)
|
# results in the container not being able to restart. (bug #1489676, 1557036)
|
||||||
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
||||||
# Loading Apache2 ENV variables
|
# Loading Apache2 ENV variables
|
||||||
source /etc/apache2/envvars
|
. /etc/apache2/envvars
|
||||||
rm -rf /var/run/apache2/*
|
rm -rf /var/run/apache2/*
|
||||||
else
|
else
|
||||||
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
|
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)
|
# results in the container not being able to restart. (bug #1489676, 1557036)
|
||||||
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
||||||
# Loading Apache2 ENV variables
|
# Loading Apache2 ENV variables
|
||||||
source /etc/apache2/envvars
|
. /etc/apache2/envvars
|
||||||
rm -rf /var/run/apache2/*
|
rm -rf /var/run/apache2/*
|
||||||
else
|
else
|
||||||
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
|
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
|
||||||
|
@ -35,7 +35,7 @@ function setup_disk {
|
|||||||
# (SamYaple)TODO: Remove the path overriding
|
# (SamYaple)TODO: Remove the path overriding
|
||||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
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
|
# Setup Docker repo and add signing key
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
@ -6,8 +6,8 @@ set -o errexit
|
|||||||
# Enable unbuffered output for Ansible in Jenkins.
|
# Enable unbuffered output for Ansible in Jenkins.
|
||||||
export PYTHONUNBUFFERED=1
|
export PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
source /etc/nodepool/provider
|
. /etc/nodepool/provider
|
||||||
source /etc/ci/mirror_info.sh
|
. /etc/ci/mirror_info.sh
|
||||||
|
|
||||||
# Just for mandre :)
|
# Just for mandre :)
|
||||||
if [[ ! -f /etc/sudoers.d/jenkins ]]; then
|
if [[ ! -f /etc/sudoers.d/jenkins ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user