Blame SOURCES/0066-travis-fix-syntax-error-in-.travis.yml.patch

a3e2b5
From a7f87d13f6f7dd92e1f1f7617df531fa34c70b6d Mon Sep 17 00:00:00 2001
a3e2b5
From: Frantisek Sumsal <fsumsal@redhat.com>
a3e2b5
Date: Tue, 15 Jan 2019 14:35:27 +0100
a3e2b5
Subject: [PATCH] travis: fix syntax error in .travis.yml
a3e2b5
a3e2b5
(cherry picked from commit 7f9d44f527ea214347f7d3b3b067f84df53feed7)
a3e2b5
---
a3e2b5
 .travis.yml | 3 +--
a3e2b5
 1 file changed, 1 insertion(+), 2 deletions(-)
a3e2b5
a3e2b5
diff --git a/.travis.yml b/.travis.yml
a3e2b5
index 1c4e6f9728..c5c9c345a9 100644
a3e2b5
--- a/.travis.yml
a3e2b5
+++ b/.travis.yml
a3e2b5
@@ -19,8 +19,7 @@ jobs:
a3e2b5
               - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
a3e2b5
               - docker --version
a3e2b5
           install:
a3e2b5
-              - RHEL_VERSION="rhel7"
a3e2b5
-              - [ -f meson.build ] && RHEL_VERSION="rhel8"
a3e2b5
+              - if [ -f meson.build ]; then RHEL_VERSION=rhel8; else RHEL_VERSION=rhel7; fi
a3e2b5
               - $CI_ROOT/travis-centos-${RHEL_VERSION}.sh SETUP
a3e2b5
           script:
a3e2b5
               - set -e