Merge "fix conditional with mkdir -p"

This commit is contained in:
Jenkins 2014-02-21 00:52:17 +00:00 committed by Gerrit Code Review
commit d499c80af8

View File

@ -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: |