From 7aec5a282322f2216ac32046b7d7b8b27945dcd6 Mon Sep 17 00:00:00 2001 From: Surya Prakash Singh Date: Mon, 28 Aug 2017 16:11:23 +0530 Subject: [PATCH] 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: Ia170ccf245131463e3179dd75ccc66142521bc5f --- tools/setup_Debian.sh | 2 +- tools/setup_gate.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/setup_Debian.sh b/tools/setup_Debian.sh index 10d08f0071..5439c3955f 100755 --- a/tools/setup_Debian.sh +++ b/tools/setup_Debian.sh @@ -51,7 +51,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 echo "deb http://apt.dockerproject.org/repo ubuntu-${DISTRIB_CODENAME} main" | sudo tee /etc/apt/sources.list.d/docker.list diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh index f0758fab0a..57a2594005 100755 --- a/tools/setup_gate.sh +++ b/tools/setup_gate.sh @@ -6,7 +6,7 @@ set -o errexit # Enable unbuffered output for Ansible in Jenkins. export PYTHONUNBUFFERED=1 -source /etc/nodepool/provider +. /etc/nodepool/provider NODEPOOL_MIRROR_HOST=${NODEPOOL_MIRROR_HOST:-mirror.$NODEPOOL_REGION.$NODEPOOL_CLOUD.openstack.org} NODEPOOL_MIRROR_HOST=$(echo $NODEPOOL_MIRROR_HOST|tr '[:upper:]' '[:lower:]')