From 8ac1f2d94edc340592f827393351dcd43ed0be0c Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Fri, 6 Dec 2024 15:39:32 -0800 Subject: [PATCH] ceph-dev-build/build/setup_rpm: fix syntax error Reversed the =~ operator when porting change from ceph-dev-new-build Signed-off-by: Dan Mick --- ceph-dev-build/build/setup_rpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-dev-build/build/setup_rpm b/ceph-dev-build/build/setup_rpm index d8a1cb45..786e6d82 100755 --- a/ceph-dev-build/build/setup_rpm +++ b/ceph-dev-build/build/setup_rpm @@ -44,7 +44,7 @@ pwd setup_rpm_build_deps -if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && "$RELEASE" ~= 8|9 ]] ; +if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && "$RELEASE" =~ 8|9 ]] ; then podman login -u $CONTAINER_REPO_USERNAME -p $CONTAINER_REPO_PASSWORD $CONTAINER_REPO_HOSTNAME/$CONTAINER_REPO_ORGANIZATION fi -- 2.39.5