From 65c1d744f7e847f27b666828c329475cda5575b2 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Mon, 12 Jun 2023 15:08:32 -0700 Subject: [PATCH] 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 --- ceph-release-rpm/build/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3