From: Dan Mick Date: Mon, 12 Jun 2023 22:08:32 +0000 (-0700) Subject: ceph-release-rpm build script missing space before = X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2140%2Fhead;p=ceph-build.git ceph-release-rpm build script missing space before = This causes a syntax error. Also, the script didn't have -e set, so the error went unnoticed Signed-off-by: Dan Mick --- diff --git a/ceph-release-rpm/build/build b/ceph-release-rpm/build/build index 82566801..f4854f44 100755 --- a/ceph-release-rpm/build/build +++ b/ceph-release-rpm/build/build @@ -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