From: Ken Dreyer Date: Thu, 16 Jan 2014 00:59:48 +0000 (-0700) Subject: jenkins: fix shell conditional syntax X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c0a81904c4988b0ae307f0cf19e47857aff1ed72;p=ceph-build.git jenkins: fix shell conditional syntax The setup task was failing with the following error: ./ceph-build/jenkins/setup: 58: [: missing ] Add whitespace so the interpreter properly recognizes the conditional. --- diff --git a/jenkins/setup b/jenkins/setup index e28b886b..5ef2dd98 100644 --- a/jenkins/setup +++ b/jenkins/setup @@ -55,7 +55,7 @@ fi mkdir -p release $bindir/release_tarball.sh release release/version -if [ $? -ne 0] ; then +if [ $? -ne 0 ] ; then echo "make tarballs failed" exit 2 fi