]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-release-rpm build script missing space before = 2140/head
authorDan Mick <dmick@redhat.com>
Mon, 12 Jun 2023 22:08:32 +0000 (15:08 -0700)
committerDan Mick <dmick@redhat.com>
Mon, 12 Jun 2023 22:10:49 +0000 (15:10 -0700)
This causes a syntax error.  Also, the script didn't have -e set, so
the error went unnoticed

Signed-off-by: Dan Mick <dmick@redhat.com>
ceph-release-rpm/build/build

index 82566801237a9ce4b1bb47bb1f119e37504f7cec..f4854f44b5b124a8212072a0d0a9d684b40ebe0a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 
 HOST=$(hostname --short)
 echo "Building on ${HOST}"
@@ -33,7 +33,7 @@ if [ "$target" = "centos8" ] ; then
     target=el8
     chacra_baseurl="ceph-release/${chacra_ref}/HEAD/centos/8"
 fi
-if [ "$target"= "centos9" ] ; then
+if [ "$target" = "centos9" ] ; then
     target=el9
     chacra_baseurl="ceph-release/${chacra_ref}/HEAD/centos/9"
 fi