]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts/build_utils.sh: use correct DIST value for el7 1704/head
authorNeha Ojha <nojha@redhat.com>
Thu, 12 Nov 2020 20:46:43 +0000 (20:46 +0000)
committerNeha Ojha <nojha@redhat.com>
Thu, 12 Nov 2020 20:50:21 +0000 (20:50 +0000)
Fixes a3f26c8ab781a5ffe54aedf45be9e373bede4d6c, which ended up
comparing [[ el7 == centos7 ]].

Follow-on fix for: https://tracker.ceph.com/issues/48162
Signed-off-by: Neha Ojha <nojha@redhat.com>
scripts/build_utils.sh

index 5b19eadb494a9fc737297f3ff45dc344fc1f8e93..42f8bf2332fd1c229b7d3de81494ac393dcd2b3b 100644 (file)
@@ -1292,7 +1292,7 @@ maybe_reset_ci_container() {
     if ! "$CI_CONTAINER"; then
         return
     fi
-    if [[ "$BRANCH" =~ octopus && "$DIST" == centos7 ]]; then
+    if [[ "$BRANCH" =~ octopus && "$DIST" == el7 ]]; then
         echo "disabling CI container build for $BRANCH"
         CI_CONTAINER=false
     fi