fix conditional with mkdir -p
There was an error in the conditional due to spacing (no space after the quotes). To fix it I decided to replace the conditional with simpler 'mkdir -p' command. Change-Id: I0f83e2823c69c5f9e3427e0925335e54e9b6c2a0
This commit is contained in:
parent
0665eb1a0f
commit
d7e8557bb2
@ -104,10 +104,7 @@
|
||||
builders:
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
if [[ ! -d "gerrit"]]
|
||||
then
|
||||
mkdir gerrit
|
||||
fi
|
||||
mkdir -p gerrit
|
||||
cd gerrit
|
||||
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org http://zuul.openstack.org git://git.openstack.org
|
||||
- shell: |
|
||||
@ -146,10 +143,7 @@
|
||||
builders:
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
if [[ ! -d "gerrit"]]
|
||||
then
|
||||
mkdir gerrit
|
||||
fi
|
||||
mkdir -p gerrit
|
||||
cd gerrit
|
||||
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org http://zuul.openstack.org git://git.openstack.org
|
||||
- shell: |
|
||||
@ -184,10 +178,7 @@
|
||||
builders:
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
if [[ ! -d "gerrit"]]
|
||||
then
|
||||
mkdir gerrit
|
||||
fi
|
||||
mkdir -p gerrit
|
||||
cd gerrit
|
||||
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org http://zuul.openstack.org git://git.openstack.org
|
||||
- shell: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user