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:]')