diff options
author | Dan Mick <dan.mick@redhat.com> | 2024-11-20 01:44:17 +0100 |
---|---|---|
committer | Dan Mick <dan.mick@redhat.com> | 2024-12-04 01:38:15 +0100 |
commit | ce74f14de5042774b8386b0eff04497b517eaacc (patch) | |
tree | b771997e3611b70852bbf2c4a6a2f8f53f03e803 /container | |
parent | container/make-manifest-list.py: use LOCALMANIFEST throughout (diff) | |
download | ceph-ce74f14de5042774b8386b0eff04497b517eaacc.tar.xz ceph-ce74f14de5042774b8386b0eff04497b517eaacc.zip |
container/Containerfile fix boolean IS_RELEASE usage
Existing syntax was just wrong.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Diffstat (limited to 'container')
-rw-r--r-- | container/Containerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/Containerfile b/container/Containerfile index 7224028723d..af843052e60 100644 --- a/container/Containerfile +++ b/container/Containerfile @@ -89,7 +89,7 @@ RUN set -x && \ REPO_URL="https://${PRERELEASE_USERNAME}:${PRERELEASE_PASSWORD}@download.ceph.com/prerelease/ceph/rpm-${CEPH_REF}/el9/" ;\ fi && \ rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${IS_RELEASE}.el9.noarch.rpm" ; \ - if [[ IS_RELEASE ]] ; then \ + if [[ "$IS_RELEASE" == 1 ]] ; then \ sed -i "s;http://download.ceph.com/;https://${PRERELEASE_USERNAME}:${PRERELEASE_PASSWORD}@download.ceph.com/prerelease/ceph/;" /etc/yum.repos.d/ceph.repo ; \ dnf clean expire-cache ; \ fi |