final bash8 files for the rest of devstack
With this devstack/master is bash8 clean, and ready for enforcement
Change-Id: I03fc89b401e6b7a23224d71472122c1bfa3ad0bd
diff --git a/tools/jenkins/jenkins_home/build_jenkins.sh b/tools/jenkins/jenkins_home/build_jenkins.sh
index e0e774e..a556db0 100755
--- a/tools/jenkins/jenkins_home/build_jenkins.sh
+++ b/tools/jenkins/jenkins_home/build_jenkins.sh
@@ -6,8 +6,8 @@
# Make sure only root can run our script
if [[ $EUID -ne 0 ]]; then
- echo "This script must be run as root"
- exit 1
+ echo "This script must be run as root"
+ exit 1
fi
# This directory
@@ -31,15 +31,15 @@
# Install jenkins
if [ ! -e /var/lib/jenkins ]; then
- echo "Jenkins installation failed"
- exit 1
+ echo "Jenkins installation failed"
+ exit 1
fi
# Make sure user has configured a jenkins ssh pubkey
if [ ! -e /var/lib/jenkins/.ssh/id_rsa.pub ]; then
- echo "Public key for jenkins is missing. This is used to ssh into your instances."
- echo "Please run "su -c ssh-keygen jenkins" before proceeding"
- exit 1
+ echo "Public key for jenkins is missing. This is used to ssh into your instances."
+ echo "Please run "su -c ssh-keygen jenkins" before proceeding"
+ exit 1
fi
# Setup sudo
@@ -96,7 +96,7 @@
# Configure plugins
for plugin in ${PLUGINS//,/ }; do
- name=`basename $plugin`
+ name=`basename $plugin`
dest=/var/lib/jenkins/plugins/$name
if [ ! -e $dest ]; then
curl -L $plugin -o $dest