diff --git a/docker/gnocchi/gnocchi-api/extend_start.sh b/docker/gnocchi/gnocchi-api/extend_start.sh index 54dbe2b147..e67dff0dff 100644 --- a/docker/gnocchi/gnocchi-api/extend_start.sh +++ b/docker/gnocchi/gnocchi-api/extend_start.sh @@ -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* diff --git a/docker/nova/nova-placement-api/extend_start.sh b/docker/nova/nova-placement-api/extend_start.sh index 904db04b27..4596bf6a1d 100644 --- a/docker/nova/nova-placement-api/extend_start.sh +++ b/docker/nova/nova-placement-api/extend_start.sh @@ -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* diff --git a/docker/panko/panko-api/extend_start.sh b/docker/panko/panko-api/extend_start.sh index cf3cc3bd46..423a8e2b85 100644 --- a/docker/panko/panko-api/extend_start.sh +++ b/docker/panko/panko-api/extend_start.sh @@ -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* diff --git a/tools/setup_Debian.sh b/tools/setup_Debian.sh index 76e5dc3b61..f217d5bc25 100755 --- a/tools/setup_Debian.sh +++ b/tools/setup_Debian.sh @@ -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 diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh index 5635be99ad..454544029b 100755 --- a/tools/setup_gate.sh +++ b/tools/setup_gate.sh @@ -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