From 6566ace236d5fdb10035a1598626274000b04727 Mon Sep 17 00:00:00 2001 From: Surya Prakash Singh Date: Mon, 28 Aug 2017 11:01:24 +0530 Subject: 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 --- tools/setup_Debian.sh | 2 +- tools/setup_gate.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/setup_Debian.sh b/tools/setup_Debian.sh index 76e5dc3b6..f217d5bc2 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 5635be99a..454544029 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 -- cgit v1.2.3