diff options
| author | Surya Prakash Singh <surya.singh@nectechnologies.in> | 2017-08-28 16:11:23 +0530 |
|---|---|---|
| committer | Surya Prakash Singh <surya.singh@nectechnologies.in> | 2017-08-28 16:15:13 +0530 |
| commit | 7aec5a282322f2216ac32046b7d7b8b27945dcd6 (patch) | |
| tree | 530417729a2e45ae32afa02c44b25c7ddb4e514c /tools | |
| parent | 56bd98fd24d8e63a5d80b7ef71ab2bf1e71b384c (diff) | |
| download | kolla-ansible-7aec5a282322f2216ac32046b7d7b8b27945dcd6.tar.gz kolla-ansible-7aec5a282322f2216ac32046b7d7b8b27945dcd6.zip | |
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
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/setup_Debian.sh | 2 | ||||
| -rwxr-xr-x | 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 10d08f007..5439c3955 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 f0758fab0..57a259400 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:]') |
