From 6cebe4ae05c27a3a95885b9939cc860c88553b89 Mon Sep 17 00:00:00 2001
From: Frantisek Sumsal <fsumsal@redhat.com>
Date: Dec 15 2020 17:54:51 +0000
Subject: travis: fix syntax error in .travis.yml


(cherry picked from commit 7f9d44f527ea214347f7d3b3b067f84df53feed7)

patch_name: 0066-travis-fix-syntax-error-in-.travis.yml.patch
present_in_specfile: true
location_in_specfile: 66
squash_commits: true

---

diff --git a/.travis.yml b/.travis.yml
index 1c4e6f9..c5c9c34 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,8 +19,7 @@ jobs:
               - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
               - docker --version
           install:
-              - RHEL_VERSION="rhel7"
-              - [ -f meson.build ] && RHEL_VERSION="rhel8"
+              - if [ -f meson.build ]; then RHEL_VERSION=rhel8; else RHEL_VERSION=rhel7; fi
               - $CI_ROOT/travis-centos-${RHEL_VERSION}.sh SETUP
           script:
               - set -e