]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
jenkins: fix shell conditional syntax 4/head
authorKen Dreyer <ken.dreyer@inktank.com>
Thu, 16 Jan 2014 00:59:48 +0000 (17:59 -0700)
committerKen Dreyer <ken.dreyer@inktank.com>
Thu, 16 Jan 2014 00:59:48 +0000 (17:59 -0700)
The setup task was failing with the following error:

  ./ceph-build/jenkins/setup: 58: [: missing ]

Add whitespace so the interpreter properly recognizes the conditional.

jenkins/setup

index e28b886b18c61e55600ec7cf32cb602dd5ac17f8..5ef2dd9816e1006cd13e6149de157f79e1d72c6e 100644 (file)
@@ -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